Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have a file with this content :
- "mg_bar mg_pourte mg_electrik la_skal la_skeviol la_bled rs_eolienne etc ..."
- I want to remove the file all words beginning with mg.
- I know we have to use sed command but the problem
- sed -e 's/^bhop//' file.txt
- Remove only twox caracters mg, when I want to remove the entire word.
- Please help me.
- Thx.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement