Skip to content

A clear and consistent message to inform you whether a command succeeded or failed

License

Notifications You must be signed in to change notification settings

mjtryhorn/trycmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trycmd

A clear and consistent message to inform you whether a command succeeded or failed.

Trycmd runs a given command then, on the completion of said command, prints a clear message stating whether the whether the command succeeded or failed. This may be useful when running commands that report their success or failure through status codes, where their on-screen notification (if any) is too subtle. Trycmd is not subtle.

Example:

$ try wget -q www.ietf.org/rfc/rfc2324.txt  # Download an RFC.
==============================================================================
Success: wget -q www.ietf.org/rfc/rfc2324.txt
==============================================================================

To create automake build files, either use bootstrap:

  • $ ./bootstrap.sh

or perform bootstrap's steps manually:

  • $ aclocal
  • $ autoconf
  • $ autoheader
  • $ automake --add-missing

Now you should have a configure and all required makefiles.

To build and install:

  • $ ./configure
  • $ make
  • $ sudo make install

To use:

  • $ try true # success.
  • $ try false # failure.
  • $ try --color=auto make # a colorful software build.

For help:

  • $ try -h # show usage.
  • $ man try # manual page.

About

A clear and consistent message to inform you whether a command succeeded or failed

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published