From 39e52143f8f198e93d36ef2037904e9f1613dfaf Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 15 Jul 2016 14:31:11 +1200 Subject: Use - rather than /dev/stdin less(1) gets upset if it's not a regular file, because reasons. --- bin/pit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/pit b/bin/pit index f91be680..d7ebd4c5 100755 --- a/bin/pit +++ b/bin/pit @@ -2,7 +2,7 @@ # If no arguments, we'll use stdin if [ "$#" -eq 0 ] ; then - set /dev/stdin + set -- - fi # If output seems to be to a terminal, try to run input through a pager of some -- cgit v1.2.3