6
Oct/090
Oct/090
Strip empty (null) lines from a file
sed meets the need; the recipe follows:
sed '/^$/d' filename
Tagged as: sed, text processing
#static
#categories
#toots
- @zedshaw You may want to ask them to remove your endorsement from their homepage. 4 hours ago
- @chrisalme Epic effort this week. Well done. 5 hours ago
- @chrisalme Some would argue that Corey Haim died a long time ago. Christ, Kieffer Sutherland hasn't been sober since The Lost Boys either. 2010/03/10
- I just stepped in a steaming heap of bullshit right outside of my cube. Awesome. 2010/03/08
#tags
apple
Apple OSX
boot issues
centos
certificates
cifs
cmd
command prompt
compact
curl
dmg
dns
encryption
fail
gentoo
howto
ICH10R
intel
logging
mac
monitoring
netcat
nevada
one-liner
performance
powerdns
rsync
s3
sata
scripting
seagate
search
snv
Solaris
spotlight
ssh
ssl
ST3500320AS
sysadmin
syslog-ng
terminal
text processing
vcs
vista
windows 7