>From 59782a755c58a0d7edc0934f1ec821b12d003455 Mon Sep 17 00:00:00 2001 From: Vincent Lefevre Date: Wed, 24 Jul 2024 11:26:19 +0200 Subject: [PATCH] sed(1): improve description of command n The current pattern space is output if automatic printing has not been suppressed. --- doc/sed.x | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/sed.x b/doc/sed.x index c1b1fcf..63703a9 100644 --- a/doc/sed.x +++ b/doc/sed.x @@ -131,8 +131,12 @@ breaking it at .I width characters. This is a GNU extension. .TP -n N -Read/append the next line of input into the pattern space. +n +Print the current pattern space if automatic printing has not been +suppressed, and read the next line of input into the pattern space. +.TP +N +Append the next line of input into the pattern space. .TP p Print the current pattern space. -- 2.45.2