EX command not working in While Read loop in UNIX -
i getting following error when doing ex command inside while read line loop.
'syntax error: unexpected end of file'
here sample code:
while ifs= read -r var ex file1 << end command end done < "file.txt"
any ideas?
Comments
Post a Comment