--- scripts/pgallery/src/libpgallery.sh 2012/08/31 15:52:10 1.3 +++ scripts/pgallery/src/libpgallery.sh 2012/09/11 15:40:43 1.4 @@ -5,7 +5,7 @@ # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can buy me a beer in return Aron Schlesinger # -# $Paefchen: scripts/pgallery/src/libpgallery.sh,v 1.2 2012/08/31 14:26:58 as Exp $ +# $Paefchen: scripts/pgallery/src/libpgallery.sh,v 1.3 2012/08/31 15:52:10 as Exp $ # BIN_CONVERT="/usr/local/bin/convert" @@ -489,7 +489,7 @@ get_exif_info() exifinfo="$exifinfo$exif " fi done - echo $exifinfo | sed -E -e 's/ mm /mm /' -e 's/ se(c|k)./s/' -e 's/ ISO / ISO/' -e 's/ ISO(\/| )/ \1/' + echo $exifinfo | sed -E -e 's/ mm /mm /' -e 's/( |([[:digit:]]))se(c|k)\./\2s/' -e 's/ ISO / ISO/' -e 's/ ISO(\/| )/ \1/' } #