Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] Tuesday afternoon shell command optimisation party!


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