mirror of https://github.com/MidnightCommander/mc
* extfs/ualz.in: Fix compatibility with unalz 0.51.
This commit is contained in:
parent
bf14886277
commit
23c29ab03a
|
@ -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
|
||||
|
|
|
@ -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../)
|
||||
|
|
Loading…
Reference in New Issue