Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1793

Insert text at start/end of line

$
0
0
I spent way too much time trying to do this with regular expressions....

Insert text at start of line:
Code:
tpipe /input=filename.txt /insert=0,1,"rem "

Insert text at end of line:
Code:
tpipe /input=filename.txt /insert=0,0," //"

Both at once:
Code:
tpipe /input=filename.txt /insert=0,1,"[[ " /insert=0,0," ]]"

Viewing all articles
Browse latest Browse all 1793

Latest Images

Trending Articles



Latest Images