Here is some more information
The sequence:
Andy@Andy-Work ~
$ export OFFICE_BIN="C:\Program Files (x86)\Microsoft Office\root\Office16"
$ strace "$OFFICE_BIN"/Wordconv.exe -oice -nme "Post-Install.doc"
"Post-Install.docx" >strace.out
Segmentation fault
$ echo $?
139
Produces the attached stra
How about using -xv on your first line to see what is actually being
executed when doing substitution?
I.e.
#!/bin/bash -xv
Another possibility is that Wordconv.exe requires .DLLs that are not
found in the path.
HTH
A
On Fri, Jun 2, 2017 at 11:52 AM, Andy Hall
wrote:
> On 1 June Doug Henders
On 1 June Doug Henderson wrote:
>
> On 1 June 2017 at 18:01, Andy Hall wrote:
> >
> > Here is a strange one. I have two scripts, conv.sh and conv.bat that do
> > the same thing: scan the current directory for
> > .doc files and convert them to .docx files. Here are the two scripts.
> >
> > $ c
On 1 June 2017 at 18:01, Andy Hall wrote:
>
> Here is a strange one. I have two scripts, conv.sh and conv.bat that do the
> same thing: scan the current directory for
> .doc files and convert them to .docx files. Here are the two scripts.
>
> $ cat conv.sh
> #!/bin/bash
>
Try running "cat -e c
Here is a strange one. I have two scripts, conv.sh and conv.bat that do the
same thing: scan the current directory for
.doc files and convert them to .docx files. Here are the two scripts.
$ cat conv.sh
#!/bin/bash
OFFICE_BIN="C:\Program Files (x86)\Microsoft Office\root\Office16"
for doc in
5 matches
Mail list logo