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:

exec grep -E "$@"

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

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

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

Feedback about page:

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

Table Of Contents