Hi,
Anyone know how to output each awk 'print' statements into an individual file? Thus a new file should be created each time for each print output. I can't seem to create this file with incrementing filenames. Eg:
footxt.1
footxt.2
footxt.3
cat foo|nawk '{print $0 > "footxt."$FNR}'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.