Ticket #3122: iso9660.diff
File iso9660.diff, 651 bytes (added by holbru, 11 years ago) |
---|
-
iso9660
old new 40 40 fi 41 41 local dir attr ln usr gr sz dt1 dt2 dt3 nm len name lsl r 42 42 dir="${2:-/}" 43 lsl=$($XORRISO -abort_on FATAL -dev stdio:"$1" -cd "$dir" -lsl 2> /dev/null )43 lsl=$($XORRISO -abort_on FATAL -dev stdio:"$1" -cd "$dir" -lsl 2> /dev/null | /bin/grep "^[-d]" ) 44 44 r=$? 45 45 test $r -gt 0 && return $r 46 46 47 echo "$lsl" | /bin/grep "^[-d]" | \47 echo "$lsl" | 48 48 while read attr ln usr gr sz dt1 dt2 dt3 nm ; do 49 49 len=$((${#nm} - 1)) 50 50 name=$(printf -- "$nm" | cut -c2-$len) # remove quotes