ct-nt + bash detection

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Mon Sep 17 21:05:00 GMT 2007


Paul and all,

On Friday 14 September 2007 20:28, Paul Smith wrote:
> You can do this all with sed more simply (imo):
>         bash_version=`/bin/bash --version \
>             | sed -n -e '2,$d' -e 's/^.* version \([0-9]*\).*/\1/p'`

Nice one! Thanks!

Regards,
Yann E. MORIN.

PS. Oh, and by the way, the official address for the mailing list is:
        crossgcc (AT) sourceware (DOT) org
    Could those of you sending to the other address change their setup?
    See: http://sources.redhat.com/ml/crossgcc/2007-05/msg00023.html
YEM.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
°------------------------------°-------°------------------°--------------------°


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list