Perhaps your text editor can do "regular expression" search-and-replace?
I mostly use TextPad, and I can find any particular character at the
start of a line ( ^ indicates start of line) and replace it with
anything else. Or in this case, replace it with nothing, which just
makes all the > at the start of lines disappear.
--
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
and Wilson Family Practice Residency, Johnson City, NY
cryanatbinghamtondotedu
GnuPG and PGP public keys available at http://pgp.mit.edu
"If you want to build a ship, don't drum up the men to gather wood,
divide the work and give orders. Instead, teach them to yearn for the
vast and endless sea." [Antoine de St. Exupery]
Rachel wrote:
> I often re-use commands from old log files. The problem with doing
> this is that multi-line the commands contain a ">" character at the
> start of each line. Is there any way to eliminate this character
> within a standard log file (rather than a command log)?
>
> Thanks,
> Rachel
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/