Browse Source

Use parenthesis instead of backticks for command substitution.

master
Svend Sorensen 19 years ago
parent
commit
4434c9ee50
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/tools/cuetag.sh

+ 5
- 5
src/tools/cuetag.sh View File

@@ -72,8 +72,8 @@ vorbis()


(for field in $fields; do (for field in $fields; do
value="" value=""
for conv in `eval echo \\$$field`; do
value=`$CUEPRINT -n $1 -t "$conv\n" $cue_file`
for conv in $(eval echo \\$$field); do
value=$(CUEPRINT -n $1 -t "$conv\n" $cue_file)


if [ -n "$value" ]; then if [ -n "$value" ]; then
echo "$field=$value" echo "$field=$value"
@@ -105,8 +105,8 @@ id3()


for field in $fields; do for field in $fields; do
value="" value=""
for conv in `eval echo \\$$field`; do
value=`$CUEPRINT -n $1 -t "$conv\n" $cue_file`
for conv in $(eval echo \\$$field); do
value=$(CUEPRINT -n $1 -t "$conv\n" $cue_file)


if [ -n "$value" ]; then if [ -n "$value" ]; then
break break
@@ -151,7 +151,7 @@ main()
cue_file=$1 cue_file=$1
shift shift


ntrack=`cueprint -d '%N' $cue_file`
ntrack=$(cueprint -d '%N' $cue_file)
trackno=1 trackno=1


if [ $# -ne $ntrack ]; then if [ $# -ne $ntrack ]; then


Loading…
Cancel
Save