Search Results

Search: Posts Made By: pratap007
Forum: Fedora 09-14-2010
2,014
Posted By pratap007
Help regarding sed Command
Can any one explain me this script


sed -n -e "s/\(string\)/\1\\
/gp" filename | sed -n -e "s/.*\(string\).*/\1/p"



Here string is a pattern to search for in the file

and filename is...
1,138
Posted By pratap007
Help regarding sed Command
Can any one explain me this script


sed -n -e "s/\(string\)/\1\\
/gp" filename | sed -n -e "s/.*\(string\).*/\1/p"



Here string is a pattern to search for in the file

and filename is...
7,911
Posted By pratap007
Help regarding sed Command
Can any one explain me this script


sed -n -e "s/\(string\)/\1\\
/gp" filename | sed -n -e "s/.*\(string\).*/\1/p"



Here string is a pattern to search for in the file

and...
Showing results 1 to 3 of 3

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