From 4b59f95bccf66dcf7338d7180871df85d4269cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 12 Feb 2020 15:22:49 +0100 Subject: sam: support optional count for text commands The text given for the a, i and c commands can be prefixed with an optional count indicating how often the text should be inserted, defaults to 1. --- man/vis.1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'man/vis.1') diff --git a/man/vis.1 b/man/vis.1 index f1af19d..a60d4fb 100644 --- a/man/vis.1 +++ b/man/vis.1 @@ -512,8 +512,11 @@ refinements of ranges. .Ss Text commands . .Bl -tag -width indent -.It Ic a/ Ns Ar text Ns Ic / -Insert the text into the file after the range. +.It Ic a Ns [ Ar count ] Ns / Ns Ar text Ns Ic / +Insert the +.Ar text +.Ar count +times into the file after the range. .\" Set dot. .Pp May also be written as -- cgit v1.2.3