Search Results

Search: Posts Made By: cicorino
9,466
Posted By cicorino
I suggest to move your post and ask on the...
I suggest to move your post and ask on the parallel HP-UX forum because awk should really behave as expected from all people who answered you here.
9,466
Posted By cicorino
so your HP-UX has a problematic awk? my...
so your HP-UX has a problematic awk?

my extra attempts would just be
awk -F\# '{ if( NR>1 ) { print $0 $2 FS}}' yourtextfile

or try to put the script inside a file:

{
if( NR>1 )
{
...
9,466
Posted By cicorino
please tell us both awk and os version details
please tell us both awk and os version details
9,466
Posted By cicorino
I can confirm too on a linux machine: awk -F\#...
I can confirm too on a linux machine:
awk -F\# '{if(NR!=1)print $0 $2 FS}' yourTestFile

works correctly
Showing results 1 to 4 of 4

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