04-30-04 06:35 PM
yls177@hotmail.com (yls177) wrote:
>Mike <mikee@mikee.ath.cx> wrote in message news:<108v6dcnrqo6of1@corp.super
news.com>...
>
>i dont mind doing that.. so this ^ is the trick to direct vi that for
>the beginning of each line, i want to add the word more?
The "s" says that you're typing a "substitute" command. The next
character (the slash) is a delimiter. The caret (^) is a regular
expression character that matches the beginning of a line, telling the
substitute command that you want to insert some there (actually
replace the beginning of each line with something, which works out to
inserting something at the beginning of each line). The last bit,
"more", is what gets inserted.
--
Tim Slattery
Slattery_T@bls.gov
[ Post a follow-up to this message ]
|