6Oct/090
Strip empty (null) lines from a file
sed meets the need; the recipe follows:
sed '/^$/d' filename
Tagged as: sed, text processing
No Comments
#static
#categories
- Backup
- Cloud Computing
- Hardware
- Hosting
- Networking
- Operating Systems
- Programming
- SCM
- Security
- sysadmin
- Uncategorized
- Virtualization
#toots
- @wlodarski which use case are you most concerned about: your star wars gear getting jacked, or being busted by your wife?
- Finished MATTERHORN last evening. Breathtaking, vivid, epic. It read far too quickly.
- Learning to think like a non-deterministic parser this evening. #puppet
- Thanks to #puppet and #aws, I can provision my new datacenter in under 5 minutes. #automation #scaleout #fuckyeah
- @devilelephant I am jealous.
- The clock is officially ticking for a complete migration of our infrastructure to #AWS #EC2. 30 days until cutover.
#tags
apple
Apple OSX
boot issues
centos
certificates
cifs
cmd
command prompt
compact
curl
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
troubleshooting
vcs
vista
windows 7