orasanen / ALICE

Automatic LInguistic Unit Count Estimator (ALICE)
44 stars 11 forks source link

SED trick doesn't work on MacOS #11

Closed orasanen closed 3 years ago

orasanen commented 4 years ago

$ sh run_ALICE.sh demo/

run_ALICE.sh: line 52: syntax error near unexpected token `&'

run_ALICE.sh: line 52: `bash $THISDIR/voice-type-classifier/apply.sh $THISDIR/tmp_data/ "MAL FEM" $GPU |& sed '/^Took/d''

MarvinLvn commented 4 years ago

Seems like |& is not compatible with older bash versions. The last PR should have fixed this issue :)

Source : https://stackoverflow.com/questions/20553916/syntax-error-near-unexpected-token-using