fortune 449 B

1234567891011121314151617181920212223
  1. .TH FORTUNE 1
  2. .SH NAME
  3. fortune \- sample lines from a file
  4. .SH SYNOPSIS
  5. .B fortune
  6. [
  7. .I file
  8. ]
  9. .SH DESCRIPTION
  10. .I Fortune
  11. prints a one-line aphorism chosen at random.
  12. If a
  13. .I file
  14. is specified, the saying is taken from that file;
  15. otherwise it is selected from
  16. .BR /sys/games/lib/fortunes .
  17. .SH FILES
  18. .B /sys/games/lib/fortunes
  19. .br
  20. .B /sys/games/lib/fortunes.index
  21. \ \ fast lookup table, maintained automatically
  22. .SH SOURCE
  23. .B /sys/src/cmd/fortune.c