LWN.net Logo

btrfs

btrfs

Posted Feb 6, 2008 20:03 UTC (Wed) by jengelh (subscriber, #33263)
In reply to: btrfs by pjdc
Parent article: Videos from linux.conf.au

$x = "butterfs";
$x =~ s/[aiueo]//g;
$x =~ tr/t/t/s;
print "We all love $x, but without vowels!\n";


(Log in to post comments)

btrfs

Posted Feb 6, 2008 23:24 UTC (Wed) by bronson (subscriber, #4806) [Link]

> tr/t/t/s;

Cute.  It's reassuring to see that there are still Perl tricks I haven't seen yet.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds