Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* This version of expand follows standard and does not treat '-' as stdin [1] * Unfortunately the regex for the -1,2,3 tab-stop form was matching incorrectly because: 1) zero characters after '-' were allowed (valid usage requires at least 1 digit after dash) 2) '-' was allowed to appear after the first character * With this patch, invalid usage "perl expand - -" fails on the first instance of '-' 1. https://pubs.opengroup.org/onlinepubs/007904975/utilities/expand.html
- Loading branch information