Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
paste: reject implied file argument (#440)
* Behave more like standard paste; zero arguments is considered invalid usage [1] * Update SYNOPSIS and usage string to indicate a file argument is needed * Add description in pod to explain special '-' file argument * Style: Merge declaration+assignment of file handle in loops * test1: "perl paste" --> now print usage * test2: "perl paste paste" --> same as cat * test3: "cat paste | perl paste -" --> same as test2 * test4: "ls | perl paste - - -" --> ls output 3 items at a time 1. https://pubs.opengroup.org/onlinepubs/7908799/xcu/paste.html
- Loading branch information