Bob Weber (12020-07-14): > echo " 34 + 45 \| abc \| 1 2 3 \| c\|123abc " | tr -d '\\' | awk 'BEGIN { > FS="|" } { printf " > _S_AR=(\n\"%s\"\n\"%s\"\n\"%s\"\n\"%s\"\n\"%s\"\n)\n",$1,$2,$3,$4,$5}' Have you considered that pipes without backslashes are not supposed to be separators? Regards, -- Nicolas George
Attachment:
signature.asc
Description: PGP signature