Search Results

Search: Posts Made By: kojac
5,843
Posted By Don Cragun
Please look closely at what I suggested! There...
Please look closely at what I suggested! There was no -d option in what I suggested and there were double quotes around the |. I'm glad the awk command worked, but you might also be able to use:...
5,843
Posted By junior-helper
edit: Nevermind. Don already posted the right cut...
edit: Nevermind. Don already posted the right cut command in post #4.
5,843
Posted By Aia
$ cut -c1-2,4-5 -d --output-delimiter=| t.txt ...
$ cut -c1-2,4-5 -d --output-delimiter=| t.txt
cut: the delimiter must be a single character
Try `cut --help' for more information.
-bash: t.txt: command not found

If you use -d you must give it...
5,843
Posted By Corona688
To keep the forums high quality for all users,...
To keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read...
5,843
Posted By Don Cragun
With cut -b... and cut -c... the input delimiter...
With cut -b... and cut -c... the input delimiter is never used anyway. And, since you are creating a single sequence of characters (not fields), I'm not sure you can specify an output field...
5,843
Posted By Corona688
Please use code tags for code and output, stuff
Please use code tags for code and output, stuff
5,843
Posted By Aia
$ cut -c1-10,20-30 -d --output-delimiter=|...
$ cut -c1-10,20-30 -d --output-delimiter=| filename
cut: the delimiter must be a single character
That error is because of -d or --delimiter
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 07:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy