I am trying to use a script to replace the header of each file, whose filename are stored within the array $test, using the sed command within a Perl script as follows:
$count = 0;
while ( $count < $#test )
{
`sed -e 's/BIOGRF 321/BIOGRF 332/g' ${test} > 0`;
`cat 0 >... (2 Replies)
Hi All
I want to search a string from an array in Perl. If a match occurs, assign that string to a variable else assign 'No match'. I tried writing the script as follows but it's in vain. Please help me..
#!/usr/bin/perl
use strict;
my $NER;
my @text=("ORG","PER");
... (4 Replies)
Hi Everyone,
#!/usr/bin/perl
use strict;
use warnings;
my @test=("a;b;qqq;c;d","a;b;ggg;c;d","a;b;qqq;c;d");
would like to split the @test array into two array:
@test1=(("a;b;qqq;c;d","a;b;qqq;c;d"); and @test2=("a;b;ggg;c;d");
means search for 3rd filed.
Thanks
find the... (0 Replies)
#!/usr/bin/perl
my @arr=("hello", "how", "are", "you");
$l=length(@arr);
print $l;
This print 1.Why?
How can i print the array size = 4?
I want to store these in an array.
hello
how
are
you
And then i want to access these element through indexing.
How can i do this? (4 Replies)
Hi,
i have a txtfile with the format <Nr>tab<word>tab<other stuff>new line and i want to sort the <word>-colum with a perl script.
My textfile:
<Nr>tab<word>tab<other stuff>new line
6807 die ART.Acc.Sg.Fem
6426 der ART.Gen.Sg.Fem
2 die ART.Nom.Sg.Fem
87 auf APPR.--
486 nicht PTKNEG.--... (1 Reply)
Hi everyone
I have one question about using array in perl. let say I have several log file in one folder.. example
test1.log
test2.log
test3.log
and the list goes on..
how to make an array for this file? It suppose to detect log file in the current directory and all the log file will... (3 Replies)
I have an array and two variables as below,
I need to check if $datevar is present in $filename.
If so, i need to replace $filename with the values in the array.
I need the output inside an ARRAY
How can this be done.
Any help will be appreciated. Thanks in advance. (2 Replies)
I need help to create varieties of football formation. The available positions are:
GK
SW
DR
DC
DL
WBR
DM
WBL
MR
MC
ML
AMR
AMC
AML
ST
But the conditions are:
a. the maximum number in 1 formation:
GK is 1
SW is 1 (1 Reply)
https://www.unix.com/programming/252468-perl-script-create-football-formation.html https://www.unix.com/members/43551.html, it is not repeated question. please read it before u block my question. Unblock it for me. Thanks:mad: (0 Replies)
I will start with an example of what I'm trying to do and then describe how I am approaching the issue.
File
PS028,005
Lexeme HRS # M #
PhraseType 1(1:1) 7(7)
PhraseLab 501 503
ClauseType ZYq0
PS028,005
Lexeme W # L> # BNH # M #... (17 Replies)
Discussion started by: jvoot
17 Replies
LEARN ABOUT DEBIAN
fmit
fmit(1) General Commands Manual fmit(1)NAME
fmit - Free Music Instrument Tuner
SYNOPSIS
fmit
There are no command line options.
DESCRIPTION
The Free Music Instrument Tuner (fmit) is a graphical sofware for tuning your music instrument using QT as gui library.
For the sound input library you can choise to use ALSA or JACK.
fmit contain all features of a standard hardware instrument tuner.
You choise the tuning frequency corresponding at your tuning note, and when you play it, fmit display your error margin.
Other views are availables, corresponding to more advanced and specific features like a microtonal tuning with more precision about you
error margin, and a view of the harmonics ratio.
Currently 6 views are availables:
1 A small view of the captured sound.
2 An history of the pitch error.
3 An history of the sound volume.
4 The shape of the wave-length.
5 Harmonics ratio (the formants).
6 A microtonal tuning view.
BUGS
Please send bug reports or any other feedback to the fmit mailing-lists:
<fmit-user@gna.org> : For bug reports and other problems.
<fmit-cvs@gna.org> : For CVS commits.
Or contact Gilles DEGOTTEX <gilles.degottex@net2000.ch>.
AUTHOR
fmit is written and maintained by Gilles DEGOTTEX <gilles.degottex@net2000.ch>.
HOME PAGE
fmit can be found at:
<http://home.gna.org/fmit/>
COPYRIGHT
Copyright (C) 2004-2006 Gilles DEGOTTEX <gilles.degottex@net2000.ch>
Licensed under the GNU Public License V2.
This manual page was written by Ludovic RESLINGER <lr@cuivres.net>, for the Debian project (but may be used by others).
August 13, 2006 fmit(1)