summaryrefslogtreecommitdiff
path: root/ifne.docbook
AgeCommit message (Collapse)AuthorFilesLines
2013-11-05Use docbook-xsl to build man pagesPeter Eisentraut1-0/+2
Use the style sheets from docbook-xsl to build man pages from DocBook, instead of the obsolete docbook2x package. Adjust Debian build dependencies accordingly. Add some man page metadata required by the new tool chain to the sources.
2013-11-05Use http system identifiersPeter Eisentraut1-1/+1
This makes the DocBook files independent of particular file-system layout. On system with proper XML catalog setups, there should be no difference. (No actual HTTP calls will be made.)
2008-05-12ifne: If no command is specified, print usage information.Joey Hess1-0/+2
2008-05-12Added -n option to ifne.Vicho1-4/+25
With -n, ifne runs the command if the standard input is empty and does nothing otherwise.
2008-03-20Moreutils: Added ifneJavier Merino1-0/+68
Hi, I read the suggestion about ifne in the Discussion page of moreutils and found it interesting. It's a command that runs another process if the standard input is not empty. I think it can be very useful in admin scripts so I've implemented it. I attach a patch against the current head of moreutils' git. You may include it in moreutils if you think it's worth it. I've considered making an "ifempty" or "ifne -v" that would run a command if the standard input is empty, but I'm not sure if that could be useful. Any comments will be appreciated. Regards, Javi