UNIX Power Tools

UNIX Power ToolsSearch this book
Previous: 45.8 Handling Signals to Child Processes Chapter 45
Shell Programming for the Initiated
Next: 45.10 Removing a File Once It's Opened - for Security and Easy Cleanup
 

45.9 The Unappreciated Bourne Shell ":" Operator

Some people think that the Bourne shell's : is a comment character. It isn't, really. It evaluates its arguments and returns a zero exit status (44.7). Here are a few places to use it:

- JP


Previous: 45.8 Handling Signals to Child Processes UNIX Power ToolsNext: 45.10 Removing a File Once It's Opened - for Security and Easy Cleanup
45.8 Handling Signals to Child Processes Book Index45.10 Removing a File Once It's Opened - for Security and Easy Cleanup

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System