pydelion.com
date –date="5 min ago" +%d/%b/%Y:%H:%M
Menu
Skip to content
about
contact
sed: replacing multiple empty lines with one
As simple as:
sed -e '/^$/N;/^\n$/D' <file>
Post navigation
←
MySQL: Removing applied relay logs
rpm: show packages with names only
→
Leave a Reply
Cancel reply
You must be
logged in
to post a comment.