diff options
author | Elia Pinto <gitter.spiros@gmail.com> | 2016-01-11 14:34:09 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-01-11 11:47:05 -0800 |
commit | bdf20f5edda12d5b02e7873ca9dfa831eafdd3cd (patch) | |
tree | 75494db7855c4b9970fb8b5ab99112674dad0a59 /t/t9100-git-svn-basic.sh | |
parent | 844116d92f822feda5785a2577b232a746ae5307 (diff) | |
download | git-bdf20f5edda12d5b02e7873ca9dfa831eafdd3cd.tar.gz |
t/t9001-send-email.sh: use the $( ... ) construct for command substitutionep/update-command-substitution-style
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
perl -i -pe 'BEGIN{undef $/;} s/`(.+?)`/\$(\1)/smg' "${_f}"
done
and then carefully proof-read.
Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9100-git-svn-basic.sh')
0 files changed, 0 insertions, 0 deletions