Applied change by rebel@atrey.karlin.mff.cuni.cz: fixed number of

right parenthesis.
This commit is contained in:
Pavel Machek 1999-11-22 15:49:15 +00:00
parent a57cc41972
commit 976775e802

View File

@ -67,7 +67,7 @@ if ($8 ~ /^\^/)
if ($8 ~ /\/$/)
printf "drwxr-xr-x 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, $8
else
printf "-rw-r--r-- 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, substr($0, index($0, $7) + length($7 " ")
printf "-rw-r--r-- 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, substr($0, index($0, $7) + length($7 " ") -1 )
}' 2>/dev/null
fi
}