History

use openbsd-compatible '-c' flag for tr

Serge Zirukin committed 16 years ago

Commit a239ed21 parent 16a49e71 file · +1 −1Browse files

Unified · Split

split2flac.sh+1−1
@@ -308,7 +308,7 @@ split_file () { · 307 unmodified lines
308308 TAG_GENRE=$(echo ${TAG_GENRE} | sed 's/REM[ \t]\+GENRE[ \t]\+//;s/"\(.*\)"/\1/')
309309
310310 YEAR=$(awk '{ if (/REM[ \t]+DATE/) { printf "%i", $3; exit } }' < "${CUE}")
311− YEAR=$(echo ${YEAR} | tr -d -C '[:digit:]')
311+ YEAR=$(echo ${YEAR} | tr -d -c '[:digit:]')
312312
313313 unset TAG_DATE
314314

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