help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Learning Bash Shell Programming


From: Chris F.A. Johnson
Subject: Re: [Help-bash] Learning Bash Shell Programming
Date: Sat, 1 Dec 2012 20:59:02 -0500 (EST)
User-agent: Alpine 2.00 (LMD 1167 2008-08-23)

On Tue, 27 Nov 2012, DJ Mills wrote:

On Wed, Nov 21, 2012 at 2:12 PM, Hans-Juergen Becker <
address@hidden> wrote:

Interesting remark. Do you think so about

http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html

and

http://tldp.org/LDP/abs/html/

too?

I'm asking because i often use especially the second one,

regards,
Hans-Jürgen


Sorry to say it, but the "advanced" bash guide is the single largest
source of misinformation about bash out there.

   Have you looked at it recently?

   Can you point to one error?

It's the reason you see so many people try to parse ls,

   There's nothing wrong with that, so long as you know what you're
   doing.

or read a file line by line with 'for foo in $(cat file)',

   I wish I had a penny for every time I've corrected that in various forums!

or use unquoted expansions. The beginners guide you linked to first
actually has syntax errors in it, let alone the logic issues
everywhere.

  Examples?

Unfortunately, I have yet to hear of the creator/maintainer responding to
any requests to update it or take it down.

  The Advanced guide had a major revision a while ago.

--
   Chris F.A. Johnson, <http://cfajohnson.com/>
   Author:
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]