aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-09-01 08:00:41 -0500
committerRob Landley <rob@landley.net>2013-09-01 08:00:41 -0500
commit408d4f2670df910180988747f11b6290551ddaa7 (patch)
tree745642cdcd47d4e9aa04cec21effa4d200b69856 /scripts
parentb7162a47e71a69e30bb9103b5caae72e5097f68f (diff)
downloadtoybox-408d4f2670df910180988747f11b6290551ddaa7.tar.gz
Implement ls --color=auto, suggested by Rich Felker.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index 6266dbf6..ecc92686 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -68,7 +68,7 @@ function getflags()
sed -n -e "s/.*TOY($FLX"',[ \t]*"\([^"]*\)"[ \t]*,.*)/\1/' \
-e 't keep;d;:keep' -e 's/^[<>=][0-9]//' -e 's/[?&^]//' \
-e 't keep' -e 's/[><=][0-9][0-9]*//g' -e 's/+.//g' \
- -e 's/\[[^]]*\]//g' -e 's/[-?^:&#|@* ]//g' "$@" -e 'p'
+ -e 's/\[[^]]*\]//g' -e 's/[-?^:&#|@* ;]//g' "$@" -e 'p'
}
# Extract global structure definitions and flag definitions from toys/*/*.c