Search Results

Search: Posts Made By: bakunin
4,980
Posted By bakunin
hmm, interesting. Not long ago i had to change...
hmm, interesting. Not long ago i had to change exactly this on some 6.1 system because sed refused to accept the command portion without a blank between the range-statements:

sed...
4,980
Posted By bakunin
Concur, but AIX-sed is a little bit peculiar...
Concur, but AIX-sed is a little bit peculiar about formatting programs:

sed '/case/,/esac/ {;s/^:\(.*\)/\1*)/;}' file

@thread-op:

Instead of this:
sed -e '1,/case $JOBNAME/d' -e '/esac/,$d'...
Showing results 1 to 2 of 2

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