in reply to Re: how to delete part of the line?
in thread how to delete part of the line?

This may not be the best suggestion, but I can think of two ways to do this.

At the unix command line: cat result.txt | cut -d"=" -f2 | sed 's/^ \t*//;s/ \t*$//' | tr "\n" "/"

perl:
#!/usr/bin/perl use strict; use warnings; while (chomp(my $line=<>)) { my (undef,$value)=split/=/,$line); $value =~ s/^\s+|\s+$//g; print "$value/"; }