Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8309977
y_axis.pl
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
449 B
Subscribers
None
y_axis.pl
View Options
#!/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
Details
Attached
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)
Attached To
rHEPDATASVN hepdatasvn
Event Timeline
Log In to Comment