Page MenuHomeHEPForge

y_axis.pl
No OneTemporary

y_axis.pl

#!/bin/perl
while ($line = <>){
chomp $line;
$line =~ s/"//g;
$line =~ s/\t//g;
($rec,$tab,$ycol,$header,$n,$v,$dummy) = split /;/, $line, 7;
if( $header eq " ") {$header = "";}
if( $n eq " ") {$n = "";}
if( $v eq " ") {$v = "";}
$rec =~ s/^\s+//;
$rec =~ s/\s+$//;
$tab =~ s/^\s+//;
$tab =~ s/\s+$//;
$ycol =~ s/^\s+//;
$ycol =~ s/\s+$//;
print $rec,"\t",$tab,"\t",$ycol,"\t",$header,"\t",$n,"\t",$v,"\n";
}
exit(0);

File Metadata

Mime Type
text/x-perl
Expires
Sat, Dec 21, 5:01 PM (15 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4010556
Default Alt Text
y_axis.pl (449 B)

Event Timeline