summaryrefslogtreecommitdiff
path: root/app/xlockmore/etc/xlockranddur.pl
blob: c9fd5fe15d8317b7b8c74a01ba6c7f2483c1aa72 (plain)
1
2
3
4
5
6
#!/usr/bin/perl -w
# xarand
open(S,"/usr/games/fortune|wc|");
local(@numbers) = split(" ",<S>);
print int $numbers[2]/3;
close(S);