linux guru
Thursday, November 3, 2011
Remove blank lines
Type the following command:
$ sed '/^$/d' input.txt > output.txt
Task: Remove blank lines using grep
$ grep -v '^$' input.txt > output.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Ruby on Rails Paperclip tutorial - rails 4.0.3, Ruby 2.1, Paperclip 4.1.1
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
How to reactivate your SSL
How to reactivate your SSL https://www.ssls.com/
mac laptop copy paste to iphone not working
Here are the steps: Open the Terminal app on your Mac (Applications > Utilities) Now, we will first delete Clipboard sharing and then en...
No comments:
Post a Comment