Free Hosting Online for WorkStations

< Previous | Contents | Next >

Further Reading

The Bash Hackers Wiki has a good article on positional parameters: http://wiki.bash-hackers.org/scripting/posparams

The Bash Reference Manual has an article on the special parameters, including

$* and $@: http://www.gnu.org/software/bash/manual/bashref.html#Special-Parameters

In addition to the techniques discussed in this chapter, bash includes a builtin command called getopts, which can also be used for process command line ar- guments. It is described in the SHELL BUILTIN COMMANDS section of the bash man page and at the Bash Hackers Wiki:

http://wiki.bash-hackers.org/howto/getopts_tutorial

33 – Flow Control: Looping With for


Top OS Cloud Computing at OnWorks: