xenocara/app/xlockmore/etc/xlockranddur.pl
2006-11-26 11:07:42 +00:00

7 lines
131 B
Perl

#!/usr/bin/perl -w
# xarand
open(S,"/usr/games/fortune|wc|");
local(@numbers) = split(" ",<S>);
print int $numbers[2]/3;
close(S);