< Home - < Back

shflags


Information about the package, shflags, which is shipped with common Linux distributions. The shflags package is designed for, Simple handling of command-line flags in Bourne based Unix scripts.


Package Name:

shflags

Summary:

Simple handling of command-line flags in Bourne based Unix scripts

Description:

Shell Flags (shFlags) is a library written to greatly simplify the handling of command-line flags in Bourne based Unix shell scripts (bash, dash, ksh, sh, zsh) on many Unix OSes (Linux, Solaris, Mac OS X, etc.). Most shell scripts use getopt for flags processing, but the different versions of getopt on various OSes make writing portable shell scripts difficult. shFlags instead provides an API that doesn't change across shell and OS versions so the script writer can be confident that the script will work. shFlags is a port of the google-gflags C++/Python library.

Architecture:

noarch

Version:

1.0.3

Release:

4.el6

Size:

33 k

Repository:

epel

From Repository:

Licence:

LGPLv2



Handy Yum Commands for shflags


Control the shflags package with the following handy commands outlined below.


Command

Description of Command

yum install shflags

This command will install shflags on the server.

yum remove shflags

This command will un-install shflags on the server. When you run this command, you will be asked if you are sure that you want to remove shflags, so you have to manually confirm that you want to do this.

yum -y remove shflags

This command will un-install shflags on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove shflags when using the -y flag.

yum update shflags

This command will update shflags to the latest version. When you run this command, you will be asked if you are sure that you want to remove shflags, so you have to manually confirm that you want to do this.

yum -y update shflags

This command will update shflags to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove shflags when using the -y flag.

yum info shflags

This command will show you core information about the shflags package.

yum deplist shflags

This command will show you the dependencies for shflags. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update shflags

This command will check if there is an update waiting on shflags. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.