On 12/12/2014 04:49 PM, akhiezer wrote: >> Date: Fri, 12 Dec 2014 16:49:42 +0100 >> From: "Armin K." <[email protected]> >> To: LFS Support List <[email protected]> >> Subject: Re: [lfs-support] basic requitment >> >> >> >> On 12/12/2014 03:35 PM, [email protected] wrote: >>> Before I'm going to far and format again my hard drive, so this is cool? >>> -------------- >>> >>> bash, version 4.2.53(1)-release >>> /bin/sh -> /bin/bash >>> Binutils: (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1 >>> bison (GNU Bison) 2.7 >>> /usr/bin/yacc -> /usr/bin/yacc >> >> This is suspicious. Are you able to execute "yacc --version" ? In newer >> versions of Bison, yacc is not a symlink, but readlink should returno an >> empty string in that case. >> > > > ISTR tripping myself up similarly on that "/usr/bin/yacc -> /usr/bin/yacc" > output format. The test in book: > > ---- > http://www.linuxfromscratch.org/lfs/view/7.6/prologue/hostreqs.html > -- > if [ -e /usr/bin/yacc ]; > then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`"; > else echo "yacc not found"; fi > ---- > > , does output "/usr/bin/yacc -> /usr/bin/yacc" (ohne '"') if yacc is a > real file. > > > Similarly for the awk/gawk test. > > > Fwiw, have never liked the method of those tests - but not my books :) . > > > > akh > > > > > > -- >
Ah, it's fine then, but a bit confusing. readlink -f returns just a file name if it's not a symlink. -- Note: My last name is not Krejzi.
signature.asc
Description: OpenPGP digital signature
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
