mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
Ticket #2707: extfs: u7z: print() cleanup.
AWK's print() already writes OFS between expressions.
This commit is contained in:
parent
052bdec1ee
commit
f84c14bbce
@ -36,7 +36,7 @@ mcu7zip_list ()
|
||||
|
||||
# archive entries can have no datetime info, 7z will use archive file datetime
|
||||
date_archive=`stat -c %y "$1" 2>/dev/null | sed -n "s/${date_re}.*/${date_mc}/p" 2>/dev/null`
|
||||
[ "${date_archive}"x = x ] && date_archive=`ls -lan "$1" 2>/dev/null | awk '{print $6,"",$7,"",$8}' 2>/dev/null`
|
||||
[ "${date_archive}"x = x ] && date_archive=`ls -lan "$1" 2>/dev/null | awk '{print $6, $7, $8}' 2>/dev/null`
|
||||
[ "${date_archive}"x = x ] && date_archive="01-01-1970 00:00:00"
|
||||
|
||||
$P7ZIP l "$1" | sed -n "
|
||||
|
Loading…
Reference in New Issue
Block a user