Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^7: Output of a command

by gaal (Parson)
on Jul 30, 2008 at 18:18 UTC ( #701209=note: print w/replies, xml ) Need Help??


in reply to Re^6: Output of a command
in thread Output of a command

Actually, what I do for this stuff is set up the following in my .bashrc:

# automatically keep output of commands in a logfile for immediate # subsequent inspection alias ll="$PAGER /tmp/last.log" l () { if [ "x$1" = "x" ] ; then echo "did you mean 'll'?" ; \ else /usr/bin/env " $@" 2>&1 | tee /tmp/last.log ; fi }

l !! and then ll is less mental load for me.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://701209]
help
Chatterbox?
[jedikaiti]: Hi Monks
[GrandFather]: HI jedikaiti. Collected more 73p data this morning. Rubbish sky though. Seeing was between 5 and 9 arc seconds FWHM with thin cloud drifting through :(
[GrandFather]: Still, at least some of the images are good enough to get reasonable astrometry. Well, good enough for a good plate solve anyway
[Cow1337killr]: Hello, jedikaiti
[jedikaiti]: Cool!

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2017-02-20 20:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (302 votes). Check out past polls.