[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
vi within a shel script
set UserName = $<
vi ./subscribers
A $UserName
:! :wq
how would one take input from a variable and append it to the end of a
line within a text file? I tried the above, and needless to say, it doesnt
work. the one hitch is that is must append the text to the end of one
contiguous line with no carriage returns. any suggestions?
--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.