From: Daniel P. <dp...@gm...> - 2015-02-19 05:59:38
|
I just added a sleep statement which should resolve this. There was another call, later on, to that script which also had a sleep statement after it. Likely because the >(...) syntax creates a pipe for writing to, and possibly bash doesn't wait for the program created by that pipe to finish executing before it continues. Dan On Wed, Feb 18, 2015 at 11:30 PM, <Dan...@pa...> wrote: > Seems unlikely, but when I run rm_data_prep.sh, the data/train > directory gets the right files, except that “text” is correct and the > others are empty. When I put a “sleep 1” or “ls –l data/train” after the > first call to “local/make_trans.pl”, everything works great. It’s very > repeatable on this particular machine. > > > > I’m running bash on CentOS 6.6 on a single box (no cluster, no VM). The > machine has a 3.1 GHz x86_64 processor with 4 cores and 16 GB of memory. > > > > Dan > > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Kaldi-developers mailing list > Kal...@li... > https://lists.sourceforge.net/lists/listinfo/kaldi-developers > > |