UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: insertChapter 9
The Ex Editor
Next: Reference: k
 

join

[address] j[!] [count]

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

Example

:1,5j!	Join first five lines, preserving white space


Previous: Reference: insertUNIX in a Nutshell: System V EditionNext: Reference: k
Reference: insertBook IndexReference: 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