home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man1 / goto.1 < prev    next >
Encoding:
Text File  |  1975-06-26  |  627 b   |  29 lines

  1. .th GOTO I 3/15/72
  2. .sh NAME
  3. goto  \*-  command transfer
  4. .sh SYNOPSIS
  5. .bd goto
  6. label
  7. .sh DESCRIPTION
  8. .it Goto
  9. is allowed only when the Shell
  10. is taking commands from a file.
  11. The file is searched from the beginning
  12. for a line beginning with `:' followed by one
  13. or more spaces followed by
  14. the
  15. .it label.
  16. If such a line is found, the
  17. .it goto
  18. command returns.
  19. Since the read pointer in the command file points to the
  20. line after the label,
  21. the effect is to cause the Shell to transfer to the
  22. labelled line.
  23. .s3
  24. `:' is a do-nothing
  25. command that is ignored by the Shell and only serves to place a label.
  26. .sh "SEE ALSO"
  27. sh (I)
  28. .sh BUGS
  29.