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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -