1
0
mirror of https://github.com/git/git.git synced 2024-09-27 01:43:53 +02:00
git/contrib/mw-to-git
Elia Pinto bd368a9baf t9362-mw-to-git-utf8.sh: use the $( ... ) construct for command substitution
The Git CodingGuidelines prefer the $(...) construct for command
substitution instead of using the backquotes `...`.

The backquoted form is the traditional method for command
substitution, and is supported by POSIX.  However, all but the
simplest uses become complicated quickly.  In particular, embedded
command substitutions and/or the use of double quotes require
careful escaping with the backslash character.

The patch was generated by:

for _f in $(find . -name "*.sh")
do
   sed -i 's@`\(.*\)`@$(\1)@g' ${_f}
done

and then carefully proof-read.

Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-04-17 11:15:01 -07:00
..
bin-wrapper
Git git-remote-mediawiki: add preview subcommand into git mw 2013-07-08 08:56:14 -07:00
t t9362-mw-to-git-utf8.sh: use the $( ... ) construct for command substitution 2014-04-17 11:15:01 -07:00
.gitignore git-remote-mediawiki: ignore generated git-mw 2013-08-13 09:52:22 -07:00
.perlcriticrc
git-mw.perl git-remote-mediawiki: add preview subcommand into git mw 2013-07-08 08:56:14 -07:00
git-remote-mediawiki.perl contrib: typofixes 2013-11-12 09:42:21 -08:00
git-remote-mediawiki.txt
Makefile Merge branch 'jn/mediawiki-makefile-updates' 2013-12-05 13:00:23 -08:00