Abstract
One common scripting technique is to create a flat file that is one of a potential number of canned messages for users to receive—messages such as notifications of downtimes, changes in the environment, or use of system quota. (I consider a flat file simply a file that contains text.) Based on the logic in the script, the proper message will be sent to the user or users. A more advanced implementation of this technique provides a template that refers to environment variables and contains customizable elements so the message can be tailored specifically to the recipient.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Rights and permissions
Copyright information
© 2009 Ron Peters
About this chapter
Cite this chapter
(2009). Evaluating Variables in a Flat File. In: Expert Shell Scripting. Apress. https://doi.org/10.1007/978-1-4302-1842-5_26
Download citation
DOI: https://doi.org/10.1007/978-1-4302-1842-5_26
Publisher Name: Apress
Print ISBN: 978-1-4302-1841-8
Online ISBN: 978-1-4302-1842-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books