Hi,
I was trying to use the following sed commands:
sed '
1,2d
/^ *$/d
/spool/d
s/^ *//
s/ *$//
' $DESC_F > $FIELDS_F
Note:
1,2d # to delete Line# 1 and 2
But got the error as:
sed: 0602-404 Function 1,2d cannot be parsed.
Any help and hints are greatly appreciated.
I was trying to use the following sed commands:
sed '
1,2d
/^ *$/d
/spool/d
s/^ *//
s/ *$//
' $DESC_F > $FIELDS_F
Note:
1,2d # to delete Line# 1 and 2
But got the error as:
sed: 0602-404 Function 1,2d cannot be parsed.
Any help and hints are greatly appreciated.