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


join

[address ] j [! ] [count ]

Place the text in the specified range on one line, with whitespace adjusted to provide two space characters after a period (.), no space characters after a ), and one space character otherwise. Add a ! to prevent whitespace adjustment.

Example

:1,5j!		Join first five lines, preserving whitespace


Previous: Reference: insert UNIX in a Nutshell: System V Edition Next: Reference: k
Reference: insert Book Index Reference: k

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