[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Jan 2003
]
Re: [edlug] getopt in perl
A Zelter writes:
> I want it to run uname with any other options it is given too and then
> parse the output and change Linux to linux.
I think you have two separate issues here, but if all you want to do is
change case, you can use 'tr', eg:
$ uname -a
HP-UX dylan B.11.00 U 9000/715 2005092576 unlimited-user license
$ uname -a | tr A-Z a-z
hp-ux dylan b.11.00 u 9000/715 2005092576 unlimited-user license
Michael
-----------------------------------------------------------------------
You can find the EdLUG mailing list FAQ list at:
http://www.edlug.org.uk/list_faq.html