1,863 reputation
69
bio website
location Ottawa, Canada
age
visits member for 5 years
seen Jan 13 at 19:45

Developer at Pythian.
Big Tcl and Perl fan.
Enjoy Ruby and JavaScript too.


Jan
12
comment Catch all emails and pipe them all to a script with postfix
this sounds like a job for procmail
Jan
8
comment How can I tell a script is running under cron?
@HBruijn, excellent suggestion. If verbosity should be the default, add a -q option for running quietly.
Jan
7
comment Why is permission denied during pssh?
Have you though of using ssh-copy-id?
Jan
6
comment Different result from a bash function
In the 2nd version, you're executing fc in a different process, so you won't have the same history.
Jan
6
awarded  Yearling
Jan
4
comment VLC script on ubuntu server
Simplest way to get them all in the background is to put them in the background: use the & operator (see gnu.org/software/bash/manual/bashref.html#Lists). Monitoring is another story.
Dec
5
comment How would you add a share to smb.conf via a script?
Check for pre-existing modules for your favourite scripting language. For example, I quickly found File::Samba for perl
Nov
17
awarded  Caucus
Nov
5
comment Expect script error send: Spawn id exp4 not open while executing
yikes. dude, chill.
Nov
5
comment Expect script error send: Spawn id exp4 not open while executing
This may be relevant: xkcd.com/1319
Nov
5
revised Expect script error send: Spawn id exp4 not open while executing
added 61 characters in body
Nov
5
answered Expect script error send: Spawn id exp4 not open while executing
Nov
5
comment Expect script error send: Spawn id exp4 not open while executing
show debug output where you send the wrong password first
Nov
5
comment Expect script error send: Spawn id exp4 not open while executing
Try running with expect -d to get extra debugging output
Oct
9
answered While loop does not return control
Oct
9
comment While loop does not return control
and for more fun debugging output, ssh -v
Oct
8
revised Converting string into CLI instruction
added 54 characters in body
Oct
8
answered Converting string into CLI instruction
Oct
2
comment grep behaving differently on Fedora vs Ubuntu
How about ls *-ref.alleles ?
Sep
27
comment Cron bash script skips second do/done set
Move set -x above the for loop. I'd suspect the file is empty.