From c3e4c7111101cbd9aeab80b5c1db8acfa95b4760 Mon Sep 17 00:00:00 2001 From: Steve McIntyre Date: Sun, 26 Oct 2014 16:38:02 +0000 Subject: [PATCH 1/1] Concatenate option steps on -t/-T option Thanks to Charles Steinkuehler for the patch. Closes: #391294 in Debian --- abcde | 2 +- changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/abcde b/abcde index 0343a61..c607b72 100755 --- a/abcde +++ b/abcde @@ -3505,7 +3505,7 @@ while getopts 1a:bc:C:d:Defghj:klLmMnNo:pPr:s:S:t:T:UvVxX:w:W:z opt ; do X) CUE2DISCID="$OPTARG" ;; w) COMMENT="$OPTARG" ;; W) if echo $OPTARG | grep "[[:digit:]]" > /dev/null 2>&1 ; then - STARTTRACKNUMBER="${OPTARG}01" + STARTTRACKNUMBER="${OPTARG}$(printf %02d ${STARTTRACKNUMBER:-01})" STARTTRACKNUMBERTAG="y" COMMENT="CD${OPTARG}" DISCNUMBER="${OPTARG}" diff --git a/changelog b/changelog index 3192d2e..ad67a87 100644 --- a/changelog +++ b/changelog @@ -29,6 +29,8 @@ abcde 2.5.5 UNRELEASED * Remove the no-op -B option. Closes: #426531 in Debian * Document the need to escape parentheses in tag comments. Closes: #256941 in Debian. + * Concatenate option steps on -t/-T option. Thanks to Charles + Steinkuehler for the patch. Closes: #391294 in Debian -- Steve McIntyre <93sam@debian.org> Sat, 25 Oct 2014 12:11:16 -0700 -- 2.20.1