This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ct-nt + bash detection


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]