Dan Nicholson wrote:
> On 1/21/07, Amadeus <[EMAIL PROTECTED]> wrote:
>
>> $ ldd `which bash` | sed -e 's/([^ ]*)//' -e 's/ //g' | awk -F=\>
>> '$2!="" {print $2}'/lib/libc.so.6
>>
>
> This works too:
>
> [ 9:08 AM [EMAIL PROTECTED] ldd /bin/bash | awk '/=> \//{print $3}'
> /lib/libreadline.so.5
> /lib/libhistory.so.5
> /lib/libncursesw.so.5
> /lib/libdl.so.2
> /lib/libc.so.6
>
That's much more elegant; thanks.
Amadeus
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page