Tuesday, 13 August 2013

Call functions vs call external program?

Call functions vs call external program?

Suppose I have a program named abc in the search path, and I write a
script containing the follows:
#!/bin/sh
abc() {
echo Hello
}
$1
Invoking this script with a parameter abc calls the function. Is there a
way to always run the external program instead?

No comments:

Post a Comment