RFC: use readable $(cmd) syntax instead of unreadable `cmd`

2007-02-09 Thread Jari Aalto
The following message is a courtesy copy of an article that has been posted to gmane.linux.debian.devel.general as well. FOREWORD I have seen following construct to be used in shell-context (makefiles, sh-scripts, Perl): `cmd` [1] However, the POSIX standard and SUSv[23] decl

Re: RFC: use readable $(cmd) syntax instead of unreadable `cmd`

2007-02-09 Thread Marco d'Itri
On Feb 09, Jari Aalto <[EMAIL PROTECTED]> wrote: > I have reported bugs against backtick and suggested to change to use > the more readable alternative. The result was surprising. To quote > one message (bug closed reasoning): > > "If your development environment cannot display ` differently

Re: RFC: use readable $(cmd) syntax instead of unreadable `cmd`

2007-02-09 Thread Russ Allbery
Jari Aalto <[EMAIL PROTECTED]> writes: > I have reported bugs against backtick and suggested to change to use the > more readable alternative. The result was surprising. To quote one > message (bug closed reasoning): > "If your development environment cannot display ` differently than ' , >

Re: RFC: use readable $(cmd) syntax instead of unreadable `cmd`

2007-02-09 Thread John Goerzen
On Fri, Feb 09, 2007 at 07:26:21PM +0100, Marco d'Itri wrote: > > I'm askinf if it is ok to to reopen such bugs based of better QA > > aspects. Possibly by providing patches if the maintainer is busy > > elsewhere to handle such a "minor issue" from his perspective. > No, it's not. Even if a patch

Re: RFC: use readable $(cmd) syntax instead of unreadable `cmd`

2007-02-09 Thread Kapil Hari Paranjape
Hello, On Fri, 09 Feb 2007, Jari Aalto wrote: > The following message is a courtesy copy of an article > that has been posted to gmane.linux.debian.devel.general as well. > BUG REPORTS -- AND REPONSES > > I have reported bugs against backtick and suggested to change to use > the more readable

Re: RFC: use readable $(cmd) syntax instead of unreadable `cmd`

2007-02-09 Thread Joey Hess
Jari Aalto wrote: > "If your development environment cannot display ` differently than ' , > you need to get a new one." Note that even though I wrote the above, I'm not exactly opposed to $(). I've been using $() in most shell code I write for years. But this does not mean that I feel i

Re: RFC: use readable $(cmd) syntax instead of unreadable `cmd`

2007-02-09 Thread J.A. Bezemer
On Fri, 9 Feb 2007, Jari Aalto wrote: > FOREWORD > > I have seen following construct to be used in shell-context > (makefiles, sh-scripts, Perl): > > `cmd` [1] > > However, the POSIX standard and SUSv[23] declares alternative way of > accomplishing the same with in *sh co