Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find line in batchfile which does not end with a quote

Status
Not open for further replies.

johnhugh

Technical User
Mar 24, 2010
702
SG
Hi, I have a text file which looks like below.
"2","0","0","0","101211MWA ",121.630 ,0.000 ,121.630 ,"USD","2","SP"
"2","0","0","0","101211MWA ",348.040 ,0.000 ,348.040 ,"USD","2","SP"

How can I find the lines in my text file which do not end with a quote " and add a quote to the end of the line?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top