Obtaining complete Unix command line that evoked script as string

2006-01-10 Thread Grant Jacobs
icularly easy way to make it trustworthy. In any event, its also plain ugly! Using bash's PROMPT_COMMAND to clear the value doesn't help, as this doesn't apply if the command lines are within a non-interactive script. Grant -- ---

SOLVED Re: Obtaining complete Unix command line that evoked script as string

2006-01-11 Thread Grant Jacobs
t'd also mean that Unix::PID is very unlikely to be any use to me :-( (I know bash 3.0+ has a BASH_COMMAND env. var. and I'm looking into installing a bash 3.0.x alongside Apple's 2.05b btw, but it'd be nicer to have a solution that's not tied to a particular shell or ver

*NOT* SOLVED Re: Obtaining complete Unix command line that evoked script as string

2006-01-11 Thread Grant Jacobs
imagine the shell splitting into the five piece, but it'd also mean that Unix::PID is very unlikely to be any use to me :-( (I know bash 3.0+ has a BASH_COMMAND env. var. and I'm looking into installing a bash 3.0.x alongside Apple's 2.05b btw, but it'd be nicer to have a so

CLOSING Re: Obtaining complete Unix command line that evoked script as string

2006-01-12 Thread Grant Jacobs
ell processing. I'll let you figure out the rest ;-) (Hint: read my example command line closer.) Grant -- --- Grant Jacobs Ph.D. BioinfoTools ph. +64 3 478 0095 (office, after 10am) PO Box 6129, or +64 27 601 5917 (mobile)

RE: CLOSING Re: Obtaining complete Unix command line that evoked script as string

2006-01-12 Thread Grant Jacobs
ly). It can be hard to make things clear via mail posts as you know. I'm used to helping the odd beginner myself, btw ;-) I only wrote on this list as there seemed to be no other "general" forum here; the others looked too specialised for this. Cheers, Grant -- ----

CLOSED? Re: Obtaining complete Unix command line that evoked script as string

2006-01-14 Thread Grant Jacobs
g/recording the trace header. You need this if outputs are to be used transparently as inputs without each script processing them having to deal with the trace headers themselves. I'll put all the functionality in here and have my Unix/arg module call on this to do the real wo

CLOSED Re: Obtaining complete Unix command line that evoked script as string

2006-01-19 Thread Grant Jacobs
to the horse in which case you probably couldn't even lead a *sensible* horse to it :-) A smart horse might choose to be stubborn because it can see it doesn't make sense... -- --- Grant Jacobs Ph.D. BioinfoTools ph