----- Original Message -----
> From: [email protected]
> To: "LOPSA Discuss List" <[email protected]>
> Sent: Thursday, December 9, 2010 3:57:48 PM
> Subject: [lopsa-discuss] scripting question
> however when I then try to put it in backticks to execute it I get
> errors about cat not accepting the -r option
I'm sure you'll get plenty of great suggestions about a lot of this but I
wanted to address this one thing alone. It's the curse that always gets me.
>From your prompt, see which cat you're using. (Arguments aside about if that's
>good or not):
$ which cat
/bin/cat
Then run the same thing in your backticks:
$ echo `which cat`
If you're lucky, you'll get the same results. :)
--
<< MCT >> Michael C Tiernan.
Is God a performance artist?
http://www.linkedin.com/in/mtiernan
_______________________________________________
Discuss mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators
http://lopsa.org/