Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pr enters a strange loop for certain -l values... %perl pr -l 10 ed ... Sat Nov 25 08:56:55 2023 Page 526462 ... Sat Nov 25 08:56:55 2023 Page 526463 ... Sat Nov 25 08:56:55 2023 Page 526464 ... Sat Nov 25 08:56:55 2023 Page 526465 ... Sat Nov 25 08:56:55 2023 Page 526466 ... Sat Nov 25 08:56:55 2023 Page 526467 ^C * In create_col(), $pagelength is set to zero for -l 10 because $trailerlength constant is 5 * After studying GNU pr manual, if -l value is 10 or less we assume -t and don't do any formatting of output * When investigating this I discovered printf() should not occur for "perl pr -t file" (GNU pr copies input to output)
- Loading branch information