Search Results

Search: Posts Made By: cfajohnson
2,006
Posted By cfajohnson
If there's only one line in the file: IFS=\|...
If there's only one line in the file:

IFS=\| read a b c d e < abc.txt
printf "QTD GROSS|%s|%s|%s|%s" "$a" "$b" "$c" "$d"

If there are more lines (but not too many):

while IFS=\| read a b c...
Showing results 1 to 1 of 1

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