Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. grep '[^[:blank:]]' < file.in > file.out
  2.  
  3. grep '[:blank:]'
  4.  
  5. $ awk NF file
  6.  
  7. sed -e 's/^[[:blank:]]*$//' source_file > newfile
  8.  
  9. sed -e '/^[[:blank:]]*$/d' source_file > newfile
  10.  
  11. sed '/^$/d' in > out
  12.  
  13. ex -s +'v/S/d' -cwq test.txt
  14.  
  15. ex -s +'bufdo!v/S/d' -cxa *.txt
  16.  
  17. cat test.txt | ex -s +'v/S/d' +%p +q! /dev/stdin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement