Search Results

Search: Posts Made By: RTY
2,332
Posted By Don Cragun
Here is a slightly different approach that closes...
Here is a slightly different approach that closes output files when a new output file is specified in the input and uses the default field separator (any combination of contiguous <space> and <tab>...
2,332
Posted By Yoda
# Set <tab> and <space> as field separators awk...
# Set <tab> and <space> as field separators
awk -F'[\t ]' '
# If NF (number of fields) in current input record == 1, set ofile variable = $1 (output filename)
# next forces awk to immediately...
Showing results 1 to 2 of 2

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