Wrapper script

suggest change

Wrapper script is a script that wraps another script or command to provide extra functionalities or just to make something less tedious.

For example, the actual egrep in new GNU/Linux system is being replaced by a wrapper script named egrep. This is how it looks:

#!/bin/sh
exec grep -E "$@"

So, when you run egrep in such systems, you are actually running grep -E with all the arguments forwarded.

In the general case, if you want to run an example script or command exmp with another script mexmp, the wrapper mexmp script will look like:

#!/bin/sh
exmp "$@" # Add other options before "$@"
# or 
#full/path/to/exmp "$@"

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents