home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


line

line

Read the next line from standard input and write it to standard output. Exit status is 1 upon EOF . Typically used in csh scripts to read from the terminal.

Example

Print the first two lines of output from who :

who | ( line ; line )


Previous: Reference: lex UNIX in a Nutshell: System V Edition Next: Reference: lint
Reference: lex Book Index Reference: lint

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System