Shell scripting: short or long format options?
This is something I get asked quite a lot, so I wanted to write a piece about it. This is an extract from the manpage from GNU grep: NAME grep, egrep, fgrep, rgrep - print lines matching a pattern SYNOPSIS grep [OPTIONS] PATTERN [FILE...] grep [OPTIONS] [-e PATTERN]... [-f FILE]