diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-08-26 10:21:40 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-08-26 10:21:40 +0300 |
commit | fa34aa68e281f318376702f663fe6b9c5214800e (patch) | |
tree | 5eecca541b18ff205df9069d040e10c547c81caf /tests/phrase.early-distortion-cost.kenlm | |
parent | c2b66405c907b393dbf2c1ccb75fd2eeef91a467 (diff) |
use env for all .pl files
Diffstat (limited to 'tests/phrase.early-distortion-cost.kenlm')
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/phrase.early-distortion-cost.kenlm/filter-nbest.pl b/tests/phrase.early-distortion-cost.kenlm/filter-nbest.pl index 4d34fe0..7003b7d 100755 --- a/tests/phrase.early-distortion-cost.kenlm/filter-nbest.pl +++ b/tests/phrase.early-distortion-cost.kenlm/filter-nbest.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; diff --git a/tests/phrase.early-distortion-cost.kenlm/filter-stderr.pl b/tests/phrase.early-distortion-cost.kenlm/filter-stderr.pl index a359091..bd2583b 100755 --- a/tests/phrase.early-distortion-cost.kenlm/filter-stderr.pl +++ b/tests/phrase.early-distortion-cost.kenlm/filter-stderr.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl BEGIN { use Cwd qw/ abs_path /; use File::Basename; $script_dir = dirname(abs_path($0)); push @INC, "$script_dir/../perllib"; } use RegTestUtils; diff --git a/tests/phrase.early-distortion-cost.kenlm/filter-stdout.pl b/tests/phrase.early-distortion-cost.kenlm/filter-stdout.pl index 3f2ec42..7a272c1 100755 --- a/tests/phrase.early-distortion-cost.kenlm/filter-stdout.pl +++ b/tests/phrase.early-distortion-cost.kenlm/filter-stdout.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl $x=0; while (<>) { chomp; |