From e92df2eade42653d73eabc545e7a78697e5a8b6b Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 12 Mar 2019 17:09:46 -0400 Subject: [PATCH] safer line parsing --- ll-function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ll-function b/ll-function index 51f72ff..6deb916 100644 --- 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 -- 2.30.2