I'm no expert with sed, but if it is a problem with white space you could try updating the sed command to also call the tr command as follows to remove space from either end of DATE and GENRE.
DATE=`sed -n 's!^REM DATE "\?\([^"]*\)"\?!\1!p' "$cue_file" | tr -d '[:space:]'` GENRE=`sed -n 's!^REM GENRE "\?\([^"]*\)"\?!\1!p' "$cue_file" | tr -d '[:space:]'` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896978 Title: cueprint/cuetag: no "DATE" and "GENRE" tags are read/written from/to audiofiles To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cuetools/+bug/896978/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
