How do you field separator in Unix?

Lan Anh

New member
How do you field separator in Unix?
Answer
You can define a field separator by using
the “-F” switch under the command line or within two brackets with “FS=…”. Above the field, boundaries are set by “:” so we have two fields $1 which is “1” and $2 which is the empty space.
 

Tìm kiếm

Back
Top