History

printing style fixes

Serge Zirukin committed 16 years ago

Commit a31f4de1 parent c104b411 file · +3 −2Browse files

Unified · Split

split2flac.sh+3−2
@@ -170,6 +170,8 @@ case ${FORMAT} in · 169 unmodified lines
170 *) emsg "Unknown output format \"${FORMAT}\""; exit 1;;170 *) emsg "Unknown output format \"${FORMAT}\""; exit 1;;
171esac171esac
172 172
173$msg "${cG}Output dir :$cZ ${DIR:?Output directory was not set}"
174
173# splits a file175# splits a file
174split_file ( ) {176split_file ( ) {
175 FILE="$1"177 FILE="$1"
@@ -257,7 +259,6 @@ split_file ( ) { · 81 unmodified lines
257 259
258 $msg "${cG}Cue sheet :$cZ ${CUE}"260 $msg "${cG}Cue sheet :$cZ ${CUE}"
259 $msg "${cG}Cover image :$cZ ${PIC:-not set}"261 $msg "${cG}Cover image :$cZ ${PIC:-not set}"
260 $msg "${cG}Output dir :$cZ ${DIR:?Output directory was not set}"
261 262
262 # file removal warning263 # file removal warning
263 if [ ${REMOVE} -eq 1 ]; then264 if [ ${REMOVE} -eq 1 ]; then
@@ -504,7 +505,7 @@ if [ -d "${INPATH}" ]; then · 240 unmodified lines
504 emsg "Directory \"${INPATH}\" is not accessible"505 emsg "Directory \"${INPATH}\" is not accessible"
505 exit 1506 exit 1
506 fi507 fi
507 $msg "${cG}Input dir :$cZ ${INPATH}$cZ"508 $msg "${cG}Input dir :$cZ ${INPATH}$cZ\n"
508 split_dir "${INPATH}"509 split_dir "${INPATH}"
509elif [ "${INPATH}" ]; then510elif [ "${INPATH}" ]; then
510 split_file "${INPATH}"511 split_file "${INPATH}"

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