in reply to Re: Out-commenting and formating challenge
in thread Out-commenting and formating challenge
otsort ../data/ABC_DE_WKey_out.dat ../data/ABC_DE_WKey_out.srt /apost +s(1001,8,c,a) om(1001,1,c,EQ,' ') f(fix,1371) core(60000)
I read some tutorial, but couldn't find anything usefull. This is what I tried, but doesn't work:otsort ../data/ABC_DE_WKey_out.dat ../data/ABC_DE_WKey_out.srt /apost +s(1001,8,c,a),om(1001,1,c,EQ,' ') f(fix,1371) core(60000)
How can I improve this code?if(/(.*\(/apost))/) { if(/^(.*?)(\S+)$/) { print "#UnixLine\n"; my $start = $1; my $end = $2; $end =~ s|(.*\(/apost.*))|"(.*\(/apost.*))"|g; print "$start$end\n"; print outFile "#UnixLine\n"; print outFile "$start$end\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Out-commenting and formating challenge
by CombatSquirrel (Hermit) on Aug 11, 2003 at 13:19 UTC |