Search Results

Search: Posts Made By: ade05fr@yahoo.f
1,162
Posted By ade05fr@yahoo.f
Thanks it helps a lot to the comprehension of...
Thanks it helps a lot to the comprehension of this command.
1,162
Posted By ade05fr@yahoo.f
What does "!{$!..." means in sed ?
Hi everyone

i have this command but i have some difficulty to understand it

sed -n '/{/!b;:a;/}/!{$!{N;ba;}};{/}/p}' test.trc

the first part it's ok it but for the second pattern...
2,457
Posted By ade05fr@yahoo.f
thanks it works for one of these solutions ...
thanks it works for one of these solutions


sed -n "/SQL ID\:\ ${vSQL_ID}/!b;:a;/\*\*\*\*\*\*\*\*\*\*\*\*/!{$!{N;ba}};{/*/p}" Input_file
-ksh: syntax error: `}' unexpected
AND
sed -n '/SQL...
2,457
Posted By ade05fr@yahoo.f
How to use a shell variable on sed command?
Hie everyone

i have a complex sed command line which work fine for a static value given
example

sed -n '/SQL ID\:\ 1111111111111/!b;:a;/\*\*\*\*\*\*\*\*\*\*\*\*/!{$!{N;ba}};{/*/p}'...
Showing results 1 to 4 of 4

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