Search Results

Search: Posts Made By: adept
3,043
Posted By agama
What is in your input file? Is it possible that...
What is in your input file? Is it possible that you have one line with valid data and three blank lines? Awk will execute your print statements for each line of input -- whether or not there is...
3,043
Posted By agama
No ideas, and I don't have an AIX box to play...
No ideas, and I don't have an AIX box to play with. Just because I'm wondering, what happens if you run this:


awk 'BEGIN { print "hello world" }'
3,043
Posted By Chubler_XL
I updated to a slightly simpler version, but...
I updated to a slightly simpler version, but basically you need to use sed (or tr) to remove all CTRL-M characters.

This is because DOS has \r\n on the end of each line while unix only has \r.
...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy