|
|
1.1 ! root 1: .\" @(MHWARNING) ! 2: .SC APPEND 1 ! 3: .NA ! 4: append \- dumb append editor ! 5: .SY ! 6: append ! 7: \%[file] ! 8: .DE ! 9: \fIAppend\fR is used at the ! 10: \*(lqWhat now?\*(rq ! 11: prompt to attach a file (or several files) to the message ! 12: currently under construction. ! 13: If no file is mentioned when it is invoked, ! 14: \fIappend\fR asks for the file or files to attach. ! 15: ! 16: File arguments are simply normal path names like those you would hand ! 17: to an editor command. ! 18: If any of the files aren't readable, are directories, or aren't there, ! 19: \fIappend\fR will gripe and continue on to the next argument. ! 20: ! 21: Examples: ! 22: ! 23: .ti +.5i ! 24: \fIWhat now?\fR\0edit\0append\0hints ! 25: ! 26: picks up the file \*(lqhints\*(rq from the current directory. ! 27: ! 28: .in +.5i ! 29: \fIWhat now?\fR\0edit\0append ! 30: .br ! 31: \fIAppend file(s):\fR\0uucp/ERRLOG\0/etc/motd ! 32: .in -.5i ! 33: ! 34: attaches \*(lquucp/ERRLOG\*(rq and \*(lq/etc/motd\*(rq to the message. ! 35: .Sa ! 36: comp (1) ! 37: .Bu ! 38: The \fIecho\fR command used in this relatively simple shell script ! 39: may need customization. ! 40: If your \fIecho\fR doesn't understand the `-n' option ! 41: to suppress a trailing newline, ! 42: take it out and write a trailing `\ec' in its argument. ! 43: ! 44: You should be able to specify more than one file on the command line. ! 45: .En
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.