Search Results

Search: Posts Made By: mingming88
5,799
Posted By mingming88
it is a part of it, i can't continue it, because...
it is a part of it, i can't continue it, because i don't know how to find the page number.
5,799
Posted By mingming88
it just for example, of course i don't know.
it just for example, of course i don't know.
5,799
Posted By mingming88
can u give me an example, because i don't really...
can u give me an example, because i don't really understand.
Thank you
2,196
Posted By mingming88
ok thank you, but actually how can i do it?
ok thank you, but actually how can i do it?
2,196
Posted By mingming88
perl using hash
i want to ask is it i can use hash in perl to store a page number with a list of words which is in that page and then print it out?

Example
Page 1 contains a are boy cat ............. (a list of...
5,799
Posted By mingming88
page = $%; is this find out the page?? count...
page = $%;
is this find out the page??
count for what page?
5,799
Posted By mingming88
Perl find page number in a file
Hi i want to ask how can i use perl and find a word in a text file, and also telling that which page doesn't it exist?

Eample: have a 10 pages text file, then i need to find 'Hello' in the file,...
16,164
Posted By mingming88
i have try yours, it is working, but mine is not...
i have try yours, it is working, but mine is not working....
#!/usr/bin/perl -w

while (<>)
{
$line = $_;
$line =~ s/[[:punct:]]//g;
$line = lc($line);
@word = split(' ', $line);...
16,164
Posted By mingming88
Thank you, it is working.
Thank you, it is working.
16,164
Posted By mingming88
Perl use split and remove specific character
i want to split the input by a space and remove specific characters like full stop, comma...... etc. and then save each word in an array.
i got something below, but it didn't work. can anyone please...
2,362
Posted By mingming88
Perl Parsing Argument
i wanna passing an argument which read in a file or a set of files if the files are given in the command line, otherwise use STDIN if no file argument.
i got something like that, but it is not...
1,717
Posted By mingming88
Perl Script to produce a file
hi
i got a file called essay which contain few pages with many paragraphs. now i wanna with PERL to produce another file which called Essaylist that contain a sorted list of words that appear in the...
1,683
Posted By mingming88
can anyone please help me with the question? ...
can anyone please help me with the question?
Thank you
1,683
Posted By mingming88
how to read a variable?
i want to ask how can i read a variable?

like

for i in 1 2 3
do
cat file${1} | while read something
do
if [ ]
echo " file name: file${i}" >>temp
else
echo ", file${i}" >>temp
done
done...
2,793
Posted By mingming88
i got something like this: #!/bin/sh ...
i got something like this:


#!/bin/sh

cat Students |while read Student_ID
do
for(i=1; i -le 3; i++)
cat Prac$i |while read ID
if [ Student_ID -ne ID ]
then
if [Student_ID exist...
2,793
Posted By mingming88
can anyone please help me?? Thank you....
can anyone please help me??

Thank you....
2,793
Posted By mingming88
oooo sorry i make wrong 20179687 Prac3 ...
oooo sorry i make wrong

20179687 Prac3
20781637 Prac2, Prac3
2,793
Posted By mingming88
yea the file missing is showing who is missing in...
yea the file missing is showing who is missing in the file, 20179687 is missing in the file Prac 3, so i need to print it to the file missing.
2,793
Posted By mingming88
Output file called Missing: 20179687 Prac2 ...
Output file called Missing:
20179687 Prac2
20781637 Prac2, Prac3
2,793
Posted By mingming88
can anyone help me with this question?
can anyone help me with this question?
1,664
Posted By mingming88
how about VARIABLE2, how can i use it??
how about VARIABLE2, how can i use it??
3,218
Posted By mingming88
but if i have a default pass mark then what can i...
but if i have a default pass mark then what can i do? if people just run "scriptname" without anything after the scriptname, so what can i do for it??
1,664
Posted By mingming88
so is it people can enter their own directory?? ...
so is it people can enter their own directory??
for VARIABLE2
when i produce a file called Marks
like >Marks
then what can i do for VARIABLE2??
3,218
Posted By mingming88
can i use other command in stead of getopts?
can i use other command in stead of getopts?
1,664
Posted By mingming88
how can i past environment variables?
i am asking to do somethings like:
make use of 2 environment variables:
ASS1_DATA_DIR specifies the location of the input data files
ASS1_OUTPUT_DIR specifies the location of the output data files...
Showing results 1 to 25 of 44

 
All times are GMT -4. The time now is 06:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy