8.45 on page 640).
10.9.2.3 Manage your hours
The ~/.forward file can contain comment lines. Eachsuchline must begin witha #
character. For example:
\you
|"/usr/ucb/vacation -m .vacation.msg.weekday you"
#|"/usr/ucb/vacation -m .vacation.msg.weekend you"
Here, the -m command-line switch(?§10.9.4.8 on page 389) is used to specify different
message files to use during the week and on weekends. When the third line is
commented out of the ~/.forward file, the weekday message will be sent. By commenting
out the second line and uncommenting the third, a different message file
will be used.
This is a simplified example of a larger approach that can be quite useful. If you frequently
go to conferences, for example, you might need a variety of messages
depending on how you can be reached at each conference. Or you might want to
maintain a library of messages, each for a different circumstance.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
10.9 The vacation Program | 385
10.9.3 Exclusions and Assumptions
The vacation program only replies to mail that is sent to you or one of your aliases as
specified by the -a vacation command-line switch(?§10.9.4.1 on page 386). The vacation
program only looks for your login name and aliases in the To: and CC: headers.
The effect is beneficial because it ensures that only mail to you generates a reply.
Pages:
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693