Forced to make time to get off this list as the volume is too much
for the megre limit my ISP sets.
Thanks again for those that helped; my working solution seems OK for now.
Below is a reply to anonymous ("JupiterHost.Net"), anyone else is
welcome to ignore it.
Writing a new shell is quick and cheap?
Perhaps you missed the solution I posted, it was a rather long post.
It uses a single line of shell code and a small, simple, perl module,
a far cry from a new shell ;-)
I've snipped most of your remarks as either you've missed my solution
or you can't see that the assumptions you're making don't fit my
situation. Important point is that I'm not not taking your advice
because I've got an attitude or I think your "wrong", I'm not taking
it because it doesn't fit my particular purpose. To repeat from my
earlier post: I don't have a choice about using a mixture of shell
and perl, its not something I can choose, even if I wanted to.
I'd tone down the attitude of people trying to make your life easier :)
I know you've accidentally left out some words, but perhaps its also
your subconcious giving you some advice? ;-) For your sake I'll do
the decent thing and *not* take your advice! :-) (Which I'm sure
you'll be happy about.)
a) you simply cannot get the entire command without making a custom shell
Erm, 'history 1' seems to... what's missing? Its available in at
least bash and tcsh, which is all I need to worry about for now. I
don't mind if some obscure shells aren't supported. I'll check zsh
sometime later, its important for my immediate use. 'sh' isn't
relevant for me, FWIW, given tcsh and bash are common.
(I know I also have to record the environment variables, but that's
not hard in my case.)
you can lead a horse to water but you can't push him in :)
Sure, I agree. I'm happy to take anyone's advice and I do. But if the
advice doesn't fit, the most sensible thing is not take it, right?
There's nothing personal about that, so this sort of reply is a bit
silly in that context.
But just for fun, by analogy, your quote makes an assumption; it
assumes the water isn't filthy, polluted and off-putting 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. +64 3 478 0095 (office, after 10am) PO Box 6129,
or +64 27 601 5917 (mobile) Dunedin,
[EMAIL PROTECTED] NEW ZEALAND.
Bioinformatics tools: deriving knowledge from biological data
Bioinformatics tools - software development - consulting - training
15 years experience in bioinformatics ready to solve your problem
Check out the website for more details: http://www.bioinfotools.com
The information contained in this mail message is confidential and
may be legally privileged. Readers of this message who are not the
intended recipient are hereby notified that any use, dissemination,
distribution or reproduction of this message is prohibited. If you
have received this message in error please notify the sender immed-
iately and destroy the original message. This applies also to any
attached documents.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>