- To: Penguinillas <slug@xxxxxxxxxxx>
- Subject: [SLUG] Tuesday afternoon shell command optimisation party!
- From: Jeff Waugh <jdub@xxxxxxxxxxxxxx>
- Date: Tue, 18 Dec 2007 16:09:15 +1100
- Jabber-id: jdub@xxxxxxxxx
- User-agent: Mutt/1.5.17 (2007-11-01)
Hi all,
Here's a starting point. What's a more optimal way to perform this task? :-)
sed 's#[^,]*##g' input.txt | tr -d '\n' | wc -m
Tuesday afternoon shell optimisation party!
Thanks,
- Jeff
--
linux.conf.au 2008: Melbourne, Australia http://lca2008.linux.org.au/
"It will test your head. And your mind. And your brain, too." - Jack
Black, School of Rock