[sword-devel] Creating module with several osis files

2019-10-28 Thread Cyrille
Hello,
I would like to know how to do a module with several osis file? I have
an osis file for each bible books. I know the -a option, but I would
like to know if it's possible to use an easier way. By instance merging
all the xml files in one?

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Creating module with several osis files

2019-10-28 Thread ref...@gmx.net
What could be easier than using a loop and the augment option?Sent from my mobile. Please forgive shortness, typos and weird autocorrects. Original Message Subject: [sword-devel] Creating module with several osis filesFrom: Cyrille To: SWORD Developers' Collaboration Forum CC: Hello,I would like to know how to do a module with several osis file? I havean osis file for each bible books. I know the -a option, but I wouldlike to know if it's possible to use an easier way. By instance mergingall the xml files in one?___sword-devel mailing list: sword-devel@crosswire.orghttp://www.crosswire.org/mailman/listinfo/sword-develInstructions to unsubscribe/change your settings at above page___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Creating module with several osis files

2019-10-28 Thread Cyrille
Hello Peter,
Nice to read you  :)

Le 28/10/2019 à 10:39, ref...@gmx.net a écrit :
> What could be easier than using a loop and the augment option?
Because we have to do it 66 times, if it is for all the books of bible
or 40 for OT :) If it's the only way, it's ok! Then you can update the
oshb module ;)
An close this bug report
.
>
> Sent from my mobile. Please forgive shortness, typos and weird
> autocorrects.
>
>
>  Original Message 
> Subject: [sword-devel] Creating module with several osis files
> From: Cyrille
> To: SWORD Developers' Collaboration Forum
> CC:
>
>
> Hello,
> I would like to know how to do a module with several osis file? I have
> an osis file for each bible books. I know the -a option, but I would
> like to know if it's possible to use an easier way. By instance
> merging
> all the xml files in one?
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Creating module with several osis files

2019-10-28 Thread Karl Kleinpaste

On 10/28/19 10:46 AM, Cyrille wrote:

Because we have to do it 66 times,

What he meant was:

for f in *.osis ; do
  echo working on $f
  osis2mod -a $f -whatever -other -args -as -needed
done
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Creating module with several osis files

2019-10-28 Thread Cyrille
Ok I just use the loop:
for i in *.xml; do osis2mod sword/ "$i" -a -z -v MT; done;

It's working well.

Le 28/10/2019 à 10:46, Cyrille a écrit :
> Hello Peter,
> Nice to read you  :)
>
> Le 28/10/2019 à 10:39, ref...@gmx.net a écrit :
>> What could be easier than using a loop and the augment option?
> Because we have to do it 66 times, if it is for all the books of bible
> or 40 for OT :) If it's the only way, it's ok! Then you can update the
> oshb module ;)
> An close this bug report
> .
>>
>> Sent from my mobile. Please forgive shortness, typos and weird
>> autocorrects.
>>
>>
>>  Original Message 
>> Subject: [sword-devel] Creating module with several osis files
>> From: Cyrille
>> To: SWORD Developers' Collaboration Forum
>> CC:
>>
>>
>> Hello,
>> I would like to know how to do a module with several osis file? I
>> have
>> an osis file for each bible books. I know the -a option, but I would
>> like to know if it's possible to use an easier way. By instance
>> merging
>> all the xml files in one?
>>
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>>
>>
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Creating module with several osis files

2019-10-28 Thread David Haslam
Does one not need to omit the -a parameter when processing the first file?

David

Sent from ProtonMail Mobile

On Mon, Oct 28, 2019 at 15:01, Karl Kleinpaste  wrote:

> On 10/28/19 10:46 AM, Cyrille wrote:
>
>> Because we have to do it 66 times,
>
> What he meant was:
>
> for f in *.osis ; do
>   echo working on $f
>   osis2mod -a $f -whatever -other -args -as -needed
> done___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Creating module with several osis files

2019-10-28 Thread Cyrille


Le 28/10/2019 à 11:01, Karl Kleinpaste a écrit :
> On 10/28/19 10:46 AM, Cyrille wrote:
>> Because we have to do it 66 times,
> What he meant was:
>
> for f in *.osis ; do
>   echo working on $f
>   osis2mod -a $f -whatever -other -args -as -needed
> done
>
Messages crossed...
Please someone in the module team can update the oshb module?
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Creating module with several osis files

2019-10-28 Thread David Troidl
If you just took the OSHB files from the repository and built them into 
a module, you will get a mess. I already submitted an update to the OSHB 
in January and have never heard another word about it.


David

On 10/28/2019 11:05 AM, Cyrille wrote:



Le 28/10/2019 ?? 11:01, Karl Kleinpaste a ??crit??:

On 10/28/19 10:46 AM, Cyrille wrote:

Because we have to do it 66 times,

What he meant was:

for f in *.osis ; do
?? echo working on $f
?? osis2mod -a $f -whatever -other -args -as -needed
done


Messages crossed...
Please someone in the module team can update the oshb module?


___
sword-devel mailing list:sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page



___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page



--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page