Search Results

Search: Posts Made By: pratap007
Forum: Fedora 09-14-2010
1,987
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,137
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,907
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:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy