diff --git a/commands.html b/commands.html index 221bbb3..5ca8c37 100644 --- a/commands.html +++ b/commands.html @@ -269,7 +269,7 @@

The basic grammar of a bash command

name () compound-command [ redirection ] exists() { [[ -x $(type -P "$1" 2>/dev/null) ]]; } -exists gpg || echo "Please install GPG." <&2 +exists gpg || echo "Please install GPG." >&2

You begin by specifying a name for your function. This is the name of your new command, you'll be able to run it later on by writing a simple command with that name.