Previous: , Up: PreScript   [Contents][Index]


7.3.2.3 Examples

PreScript and a2ps can be used for one-the-fly formating. For instance, on the passwd file:

ypcat passwd |
 awk -F: \
   '{print "\Keyword{" $5 "} (" $1 ") \rightarrow\keyword{" $7 "}"}'\
 | a2ps -Epre -P