Search Results

Search: Posts Made By: jcarrott
11,968
Posted By jcarrott
Thank you for the help. I tried the # rather...
Thank you for the help.

I tried the # rather than the / in the s subcommand. It did not work, but that was a good try.

I also tried the "phone=`echo $FaxFile|cut -d, -f5`", this was not a very...
11,968
Posted By jcarrott
Thank you for the help, but as I stated in my...
Thank you for the help, but as I stated in my first reply - the double quotes caused an error.

sed: 0602-404 Function s/flag1/ cannot be parsed.

There is no error with the single quotes....
11,968
Posted By jcarrott
I don't know if the whole script makes a...
I don't know if the whole script makes a difference, but here it is.


for FaxFile in `ls *`
do
phone=`cut -d, -f5 $FaxFile`
cnumb=`cut -d, -f7 $FaxFile`
ponum=`cut -d, -f11...
11,968
Posted By jcarrott
The error returned is sed: 0602-404 Function...
The error returned is
sed: 0602-404 Function s/flag1/ cannot be parsed.
The single quotes work on AIX not the double.
11,968
Posted By jcarrott
AIX Korn shell sed -s problem
In a Korn shell script I have,
cat ../header | sed -e 's/flag1/$cnumb/g' > header.txt
The header is short
{{Company flag1}}
But the result in header.txt is
{{Company $cnumb}}
The value of...
Showing results 1 to 5 of 5

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