dumbest bug
This commit is contained in:
parent
2edb454851
commit
c8fc1d462e
1 changed files with 2 additions and 1 deletions
3
lsf.sh
3
lsf.sh
|
@ -12,6 +12,7 @@
|
|||
|
||||
# TODO: set better defaults for quick glances at filesize
|
||||
# TODO: include sorting somehow
|
||||
# TODO: handle symlinks nicely
|
||||
|
||||
_lsf_begin(){
|
||||
local begin='
|
||||
|
@ -138,7 +139,7 @@ function fixlen(str, len) {
|
|||
|
||||
if (!OSPA) {
|
||||
if (NR!=1) fn=substr(fn,firstlen)
|
||||
else firstlen=length(fn)+((type==04)?2:1)
|
||||
else firstlen=length(fn)+2-(fn ~ /\/$/)
|
||||
}
|
||||
|
||||
print fn
|
||||
|
|
Loading…
Reference in a new issue