* extfs/ualz.in: Fix compatibility with unalz 0.51.

This commit is contained in:
Pavel Roskin 2005-07-25 16:19:53 +00:00
parent bf14886277
commit 23c29ab03a
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-07-25 Pavel Roskin <proski@gnu.org>
* extfs/ualz.in: Fix compatibility with unalz 0.51.
2005-07-22 Pavel Roskin <proski@gnu.org>
* extfs/ualz.in: Anticipate eventual posixification of the date

View File

@ -11,7 +11,7 @@ mcualz_list ()
{
$UNALZ -l "$1" | @AWK@ -v uid=`id -nu` -v gid=`id -ng` '
{
if ($0 ~ /^[0-9][0-9][0-9][0-9]:[0-9][0-9]:[0-9][0-9] /)
if ($1 ~ /[0-9][0-9][:/][0-9][0-9][:/][0-9][0-9]$/)
{
# Kludge for non-POSIX date format in unalz 0.50
split($1, date, "[/:]")
@ -24,7 +24,7 @@ mcualz_list ()
time=$2
perm=$3
size=$4
sub(/^[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* */, "")
sub(/^ *[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* */, "")
file=$0
gsub(/\\/, "/", file)
if (perm ~ /.D../)