[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Command: Negation



Hello yall,
I'm tylo (wretch). I've posted some patches to arch bbs adding some commands I find useful, and was directed here. I'm new to contributing to projects and my c is rusty, so I welcome all pointers/critiques/syntactical corrections. This is 1 of 3 (I was told to submit each feature seperately):

from my man:
       ! COMMANDS
           "!" executes the provided commands, but inverts their return
           value. If the provided command returns a nonzero, "!" returns
           a 0, if the command returns a zero, "!" returns a 1.

this is useful in and/or chains.

a tarball containing the patches are attached (can I attach files in this mailing list?)

Attachment: negation.tar.gz
Description: GNU Zip compressed data