Search Results

Search: Posts Made By: kitykity
12,748
Posted By sk1418
sorry, didn't read your post carefully just now....
sorry, didn't read your post carefully just now. is this what you want?

kent$ echo "test
test test mounting hello
test mounting hello
mounting works
" | sed -r '/ok/{s/^.*(mounting.*$)/\1/}'...
12,748
Posted By panyam
sed 's/\(.*mounting\)\(.*\)/\2/' input_file
sed 's/\(.*mounting\)\(.*\)/\2/' input_file
Showing results 1 to 2 of 2

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