History

use double quotes in some expressions

Serge Zirukin committed 16 years ago

Commit 259cc3d1 parent bb962931 file · +6 −6Browse files

Unified · Split

split2flac.sh+6−6
@@ -36,8 +36,8 @@ NORENAME=0 · 35 unmodified lines
36NOPIC=036NOPIC=0
37REMOVE=037REMOVE=0
38PIC_SIZE="192x192"38PIC_SIZE="192x192"
39FORMAT=${0##.*split2}39FORMAT="${0##.*split2}"
40FORMAT=${FORMAT%.sh}40FORMAT="${FORMAT%.sh}"
41 41
42# load settings42# load settings
43eval $(cat "${CONFIG}" 2>/dev/null)43eval $(cat "${CONFIG}" 2>/dev/null)
@@ -149,8 +149,8 @@ if [ -z "${CUE}" ]; then · 105 unmodified lines
149fi149fi
150 150
151# print some info and check arguments151# print some info and check arguments
152echo "Input file :" ${FILE:?"No input filename given. Use -h for help."}152echo "Input file : ${FILE:?'No input filename given. Use -h for help.'}"
153echo "Cue sheet :" ${CUE:?"No cue sheet"}153echo "Cue sheet : ${CUE:?'No cue sheet'}"
154 154
155if [ -n "${CHARSET}" ]; then155if [ -n "${CHARSET}" ]; then
156 echo "Cue charset : ${CHARSET} -> utf-8"156 echo "Cue charset : ${CHARSET} -> utf-8"
@@ -193,8 +193,8 @@ elif [ -z "${PIC}" ]; then · 36 unmodified lines
193 fi193 fi
194fi194fi
195 195
196echo "Cover image :" ${PIC:-"not set"}196echo "Cover image : ${PIC:-'not set'}"
197echo "Output dir :" ${DIR:?"Output directory wasn't set"}197echo "Output dir : ${DIR:?'Output directory wasn\'t set'}"
198 198
199# file removal warning199# file removal warning
200if [ ${REMOVE} -eq 1 ]; then200if [ ${REMOVE} -eq 1 ]; then

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t