Add a ; at the end of every line then change ;; to ;

AB

> On 4 Dec 2018, at 04:47, Ronald Hofmann <[email protected]> wrote:
> 
> Hi all,
> 
> I have a folder with 2500 text files and all lines end with ";" except the 
> last line like this
> 
> Mendoza,-32.890845,-68.827171,973'047,ARG;
> Rosario,-32.946818,-60.639317,1'218'497,ARG;
> Cordoba,-31.413496,-64.181052,1'441'007,ARG
> 
> Instead of opening every file and adding a ";" I'm looking for an automation 
> to do this for me.
> May be BBEdit can do it? I only found "suffix lines".
> 
> Any clues?
> 
> Greetings from Germany, Ronald 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or need technical support, please email
> "[email protected]" rather than posting to the group.
> Follow @bbedit on Twitter: <https://www.twitter.com/bbedit 
> <https://www.twitter.com/bbedit>>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/bbedit 
> <https://groups.google.com/group/bbedit>.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to