Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > S

ssp(1)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

ssp — remove multiple line-feeds from output

SYNOPSIS

ssp

DESCRIPTION

ssp (single-space) removes redundant blank lines from the standard input and sends the result to the standard output. All blank lines at the beginning of a file are removed, and all multiple blank lines elsewhere in the file (including end-of-file) are reduced to a single blank line.

ssp is typically used in pipelines such as

nroff -ms file1 | ssp

ssp is equivalent to the 4.2BSD cat -s command.

To remove all blank lines from a file except at beginning of file, use rmnl (see rmnl(1)). To remove all blank lines from a file including beginning of file, use rmnl piped to ssp, or ssp piped to rmnl.

SEE ALSO

cat(1), rmnl(1).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.