This question basically is exactly the same as this question in Stackoverflow.
Using the syntax of cut
the specification cut -d '' file
should actually work and (given the answers to the question) it seems to work on Linux systems. However, on Mac Os X I get cut: bad delimiter
.
My question is: is there a way to specify a null delimiter in cut
on Mac Os X?
(I know that one could just something else than cut
but I am just wondering now ...).