iankelling.org
/
git
/
small-misc-bash
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37486f3
)
safer line parsing
author
Ian Kelling
<iank@fsf.org>
Tue, 12 Mar 2019 21:09:46 +0000
(17:09 -0400)
committer
Ian Kelling
<iank@fsf.org>
Tue, 12 Mar 2019 21:09:46 +0000
(17:09 -0400)
ll-function
patch
|
blob
|
history
diff --git
a/ll-function
b/ll-function
index 51f72ffec1a093571ffd6b139e1bfcf6e1c96b52..6deb916139e8988c80ef136ace26f2b2f23447b5 100644
(file)
--- a/
ll-function
+++ b/
ll-function
@@
-44,7
+44,7
@@
EOF
# + for any other kind of acl
# or blank for no other kind of acl
# I don't want to see this generally.
- while read line; do
+ while read
-r
line; do
# if we did want the first line, it would need to be stripped of non-printing chars:
#line=${line#$'\E[00m'}
# lines like "total 123M", we don't want