F
freewilly3d
I'm trying to open the following pipe in perl open(SASPS,"ps -
ef|sed 's/^\(.\{32\}\) /\1/; s/^ *$/*/'|grep sas| sort +0 -1 -d +7 -
8 -d +4 -5 -d +6 -7 -d |") and get a sed error returned. The command
works fine at the command line. The error has something to do with
th *$/ part of the code. This is the message I get back
adwprod:/prod/rptg/bstandke >pssas
sed: 0602-404 Function s/^(.{32}) //; s/^ * cannot be parsed.
any suggestions?
ef|sed 's/^\(.\{32\}\) /\1/; s/^ *$/*/'|grep sas| sort +0 -1 -d +7 -
8 -d +4 -5 -d +6 -7 -d |") and get a sed error returned. The command
works fine at the command line. The error has something to do with
th *$/ part of the code. This is the message I get back
adwprod:/prod/rptg/bstandke >pssas
sed: 0602-404 Function s/^(.{32}) //; s/^ * cannot be parsed.
any suggestions?