You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This breaks on my system (x86_64 linux running bash as a shell). I modified the code to (I think) work on bash.
Here's the changes I made. They probably won't work in other shells that don't have bash's <(blah) subprocess substitution. Also I found that I had to replace the stdout redirection of the command (> output) to a command line option (-o=output) for some reason. I'm not sure what was going on there, either.
bash 4.1.2(1)-release
linux Red Hat Enterprise Linux Server release 6.4 (Santiago)
I got the example pipeline to run, but only making those changes in the above files. I'm not really sure what's going on, but I guess that this thread might be helpful for others who have the same issues.
This line creates a command to run and stores the value in
$__ALIGNMENT_CMD
:https://github.com/joshua-decoder/joshua/blob/master/scripts/training/run-giza.pl#L232
Then the variable is passed as a command line option in this line:
https://github.com/joshua-decoder/joshua/blob/master/scripts/training/run-giza.pl#L265
This breaks on my system (x86_64 linux running bash as a shell). I modified the code to (I think) work on bash.
Here's the changes I made. They probably won't work in other shells that don't have bash's
<(blah)
subprocess substitution. Also I found that I had to replace the stdout redirection of the command (> output
) to a command line option (-o=output
) for some reason. I'm not sure what was going on there, either.Changes here: afader@a754044
The text was updated successfully, but these errors were encountered: