extfs/iso9660.in



Hi,

my isoinfo command output some ugly numbers before the file names. Example:

roland wwid:/tmp > /tmp/mc/installed/debug/share/mc/extfs/iso9660 list mc-test.iso | tail -n 2 -r--r--r-- 1 root root 46 Feb 24 2004 wip/unrealtournament-server/files/ASU/umodasu/CVS/Repository -r--r--r-- 1 root root 52 Feb 24 2004 wip/unrealtournament-server/files/ASU/umodasu/CVS/Root

roland wwid:/tmp > /usr/share/mc/extfs/iso9660 list mc-test.iso | tail -n 2
-r--r--r-- 1 root root 46 Feb 24 2004 wip/unrealtournament-server/files/ASU/umodasu/CVS/[ 59819 00] Repository -r--r--r-- 1 root root 52 Feb 24 2004 wip/unrealtournament-server/files/ASU/umodasu/CVS/[ 57962 00] Root

Roland
Index: vfs/extfs/iso9660.in
===================================================================
RCS file: /cvsroot/mc/mc/vfs/extfs/iso9660.in,v
retrieving revision 1.3
diff -u -p -r1.3 iso9660.in
--- vfs/extfs/iso9660.in	27 Oct 2004 13:01:14 -0000	1.3
+++ vfs/extfs/iso9660.in	27 Oct 2004 16:44:14 -0000
@@ -32,7 +32,7 @@ case "$1" in
   *)     MYCAT="cat";;
 esac
 
-$ISOINFO -l -i "$1" | @AWK@ '
+$ISOINFO -l -i "$1" | sed -e 's,\[[ ]*[0-9][0-9]*[ ]*[0-9][0-9]*\][ ]*,,' | @AWK@ '
 BEGIN {
   dir="";
   # Pattern to match 8 first fields.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]