History

version printing (it should be replaced with actual version by packet manager, etc.)

Serge Zirukin committed 16 years ago

Commit 23b9fa21 parent 062ef241 file · +6 −1Browse files

Unified · Split

split2flac.sh+6−1
@@ -49,7 +49,10 @@ SAVE=0 · 48 unmodified lines
49unset PIC INPATH CUE CHARSET49unset PIC INPATH CUE CHARSET
50FORCE=050FORCE=0
51 51
52HELP="\${cG}split2flac splits one big \${cU}APE/FLAC/WV\$cZ\$cG file to \${cU}FLAC/M4A/MP3/OGG_VORBIS\$cZ\$cG tracks with tagging and renaming.52VERSION=unknown
53
54HELP="\${cG}split2flac version: ${VERSION}
55Splits one big \${cU}APE/FLAC/WV\$cZ\$cG file to \${cU}FLAC/M4A/MP3/OGG_VORBIS\$cZ\$cG tracks with tagging and renaming.
53 56
54Usage: \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}FILE\$cZ [\${cU}OPTIONS\$cZ]\$cZ57Usage: \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}FILE\$cZ [\${cU}OPTIONS\$cZ]\$cZ
55 \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}DIR\$cZ [\${cU}OPTIONS\$cZ]\$cZ58 \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}DIR\$cZ [\${cU}OPTIONS\$cZ]\$cZ
@@ -72,6 +75,7 @@ Usage: \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}FILE\$cZ [\${cU}OPTIO · 16 unmodified lines
72 \$cG-nocolors\$cZ \$cR*\$cZ - turn off colors75 \$cG-nocolors\$cZ \$cR*\$cZ - turn off colors
73 \$cG-s\$cZ - save configuration to \$cP\"\${CONFIG}\"\$cZ76 \$cG-s\$cZ - save configuration to \$cP\"\${CONFIG}\"\$cZ
74 \$cG-h\$cZ - print this message77 \$cG-h\$cZ - print this message
78 \$cG-v\$cZ - print version
75 79
76\$cR*\$cZ - option affects configuration if \$cP'-s'\$cZ option passed.80\$cR*\$cZ - option affects configuration if \$cP'-s'\$cZ option passed.
77\${cP}NOTE: \$cG'-c some_file.jpg -s'$cP only \${cU}allows\$cZ\$cP cover images, it doesn't set a default one.81\${cP}NOTE: \$cG'-c some_file.jpg -s'$cP only \${cU}allows\$cZ\$cP cover images, it doesn't set a default one.
@@ -126,6 +130,7 @@ while [ "$1" ]; do · 48 unmodified lines
126 -nocolors) NOCOLORS=1; update_colors;;130 -nocolors) NOCOLORS=1; update_colors;;
127 -s) SAVE=1;;131 -s) SAVE=1;;
128 -h|--help|-help) eval "$msg \"${HELP}\""; exit 0;;132 -h|--help|-help) eval "$msg \"${HELP}\""; exit 0;;
133 -v|--version) $msg "split2${FORMAT} version: ${VERSION}"; exit 0;;
129 -*) eval "$msg \"${HELP}\""; emsg "\nUnknown option $1"; exit 1;;134 -*) eval "$msg \"${HELP}\""; emsg "\nUnknown option $1"; exit 1;;
130 *)135 *)
131 if [ "${INPATH}" ]; then136 if [ "${INPATH}" ]; 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