I want to use space as a delimiter with the cut command. What would be the syntax?
From stackoverflow
-
cut -d ' ' -f 2
Where 2 is the field number of the space-delimited field you want.
-
You can also say
cut -d\ -f 2
note that there are two spaces after the backslash.
0 comments:
Post a Comment