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

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -