Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [anony@mous-pc ~]$ (printf 'g?%s?m0n' 008 006 004 002 ; printf 'wqn') | ed -s file.txt
- [anony@mous-pc ~]$ cat some.txt
- 005
- 003
- 110
- 069
- 002
- 008
- 004
- 245
- 009
- 007
- 006
- [anony@mous-pc ~]$ cat some.txt
- 002
- 004
- 006
- 008
- 005
- 003
- 110
- 069
- 245
- 009
- 007
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement