Extract login name earlier in scripts so it works
This commit is contained in:
parent
017b264464
commit
b3d21ec94e
|
@ -11,11 +11,9 @@ cat /etc/passwd |
|
|||
grep -v '#' |
|
||||
sed '1d' |
|
||||
awk 'NR % 2 == 1' |
|
||||
rev |
|
||||
sort -r |
|
||||
rev |
|
||||
cut -d':' -f1 |
|
||||
rev |
|
||||
sort -r |
|
||||
head -"${FT_LINE2}" |
|
||||
tail -"${FT_DIFF}" |
|
||||
tr '\n' ':' |
|
||||
|
|
Loading…
Reference in New Issue