Is there a switch/option to overwrite file in CHSTRING

12 vues
Accéder directement au premier message non lu

Cathy Lonngren

non lue,
2 juil. 2019, 15:17:4902/07/2019
à chib...@googlegroups.com
Hi Brian and Leonid, 

When using CHSTRING to make changes, I see that a new file is created for each transcript in which a change was made. (CEX file). Is there a switch which will allow the automatic replacement of the original file (i.e. will simply overwrite it)? This would avoid having to delete duplicate files. 
Many thanks, 

Cathy Lonngren-Sampaio

Davida Fromm

non lue,
2 juil. 2019, 15:28:5902/07/2019
à chib...@googlegroups.com
Hi Cathy,

Yes, you can add +1 to the command and it will replace the original data
file with the new one.

FYI -- If you type CHSTRING in the CLAN Commands window and then hit
"return" you'll see all the switch options, and this one near the bottom of
the list.

-Davida

--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+u...@googlegroups.com.
To post to this group, send email to chib...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/CAP0r51S8AZ3cGN8hRLQ4KEAMhEwnjtXoax9ZOTNfKGhFjqKjtw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Leonid Spektor

non lue,
2 juil. 2019, 15:44:4202/07/2019
à chib...@googlegroups.com
Cathy,

CHSTRING does have an option +1 to overwrite original files. But, since CHSTRING changes files sometimes results might be unexpected. If you choose to use +1 option, then make sure that you backup you original files first.

If you use CHSTRING without +1 option, then after you are satisfied that no mistake were created you can use command
"ren -f *.chstr.cex *.cha" to replace original .cha files with files created by CHSTRING.


Leonid.

Cathy Lonngren

non lue,
2 juil. 2019, 17:20:5602/07/2019
à chib...@googlegroups.com
Thank you Davida and Leonid for your prompt replies - I thought there might be a simple answer. Yes, I should have typed it in the Commands window to see the options instead of just looking at the manual (which obviously can't contain everything). 

Many thanks again, 

Cathy Lonngren-Sampaio

Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message