![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
#!/usr/bin/perl
use strict;
my $x = shift;
my $o = shift;
$o ||= ' ';
$x ||= '*';
while (1){
select (undef, undef, undef, 0.5);
my $t = `date +%s`;
my $s = sprintf "%b\n", $t;
$s =~ s/1/$x/g;
$s =~ s/0/$o/g;
print $s;
}
Run on a unix machine, pick one-character arguments if desired, pipe through uniq.
ETA: 08:37:04 on Saturday morning, Eastern Time.
no subject
Date: 2004-01-09 01:25 pm (UTC)How about $o ||= ' ' unless $o eq '0'; ?
no subject
Date: 2004-01-09 01:30 pm (UTC)no subject
Date: 2004-01-09 01:33 pm (UTC)no subject
Date: 2004-01-09 01:37 pm (UTC)no subject
Date: 2004-01-09 01:56 pm (UTC)no subject
Date: 2004-01-09 10:33 pm (UTC)no subject
Date: 2004-01-09 01:49 pm (UTC)no subject
Date: 2004-01-09 04:32 pm (UTC)no subject
Date: 2004-01-09 04:33 pm (UTC)no subject
Date: 2004-01-09 10:32 pm (UTC)no subject
Date: 2004-01-10 09:04 am (UTC)but no. they are green. i do have some red mary jane's, though.