Portable Shell Programming: An Extensive Collection of Bourne Shell ExamplesPortable Shell Programming helps you leverage the power of UNIX shell scripts by presenting hundreds of practical examples - all carefully documented, organized, and indexed. Whether you're new to UNIX shell programming or you've already written scripts, this book will make you more productive immediately. Just look up the problem you're trying to solve, and find a quick, easy-to-implement solution. Or read Portable Shell Programming cover-to-cover as a comprehensive guide to shell programming concepts and techniques. All the complete shell scripts in this book are included on the accompanying diskette. |
Contents
Shell Syntax | 1 |
Background Execution | 12 |
Statements without Newlines | 20 |
Copyright | |
21 other sections not shown
Common terms and phrases
assigned awk print backslash bin/sh Bourne shell BSD systems Chapter command line contains copy current directory current shell delete delimiter dev/null df command double quotes DownShift echo command echo Usage esac Examples of Shell exec exit status expr command file descriptor file name file redirection file2 filel filter find command following command following example shows getopts command grep command HP-UX hyphen int2 intl IRIX loop mand matches mkdir newline null command option parameter list parse passed PATH variable pattern pipeline portable positional parameters POSIX process ID process name read command redirect the standard remote shell remove rsh host sed script shell function shell script signal specify standard error standard input standard output statement StrCmp subshell suppress the newline syntax System V systems SystemType temporary file terminal test command ULTRIX wc command whitespace wildcard characters write xargs