commit | 42cc29c7883c852462c6c740c72eff06bca8accc | [log] [tgz] |
---|---|---|
author | Hyejin Kim <hj8296@gmail.com> | Mon May 25 01:51:56 2015 -0500 |
committer | Rob Landley <rob@landley.net> | Sun May 31 12:12:35 2015 -0500 |
tree | 88a4c2a38e57b9589f52c57ab8f56befd7a77cf9 | |
parent | 7c8a2f4adf8502ab2ca921944427e35cde069b6c [diff] |
On testing fold command, I found w option didnt check the range of value.
diff --git a/toys/pending/fold.c b/toys/pending/fold.c index 80bb241..0face64 100644 --- a/toys/pending/fold.c +++ b/toys/pending/fold.c
@@ -4,7 +4,7 @@ * * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/fold.html -USE_FOLD(NEWTOY(fold, "bsuw#", TOYFLAG_USR|TOYFLAG_BIN)) +USE_FOLD(NEWTOY(fold, "bsuw#<1", TOYFLAG_USR|TOYFLAG_BIN)) config FOLD bool "fold"