Welcome to the forum.If you have basic knowledge of perl, you can surely start.
Post your concerns where you stuck. We are here to help.
Because i am very new in perl .
I have not learn about perl at all.
I just have learn a little shell script.
As for no sense to solve this critical issue.
I have try to edit the shell by myself.
But it doesn't work in environment.
And i try about two weeks.
And search google about perl teaching web sites.
But the conclusion is very poor.
I have ever to ask my University classmates.
But they talk to me ,they only learn C# & Java.
Never learn about in Perl.
So , i have no idea how to do right now ?
Below is my editted perl script
Last edited by Scott; 05-26-2011 at 01:46 AM..
Reason: Please use code tags
I don't know how to convert below shell session to perl ?
I don't know how to convert below shell session to perl ?
Because some symbol could support by shell , for example '>>'
could use in shell , but could not use in perl.
And number=` echo $line | cut -d '>' -f2 | cut -d '<' -f1 `
let total+=number
done < $filename
could use in shell ,but could not use in perl.
# Count Daily Total History:
Last edited by Franklin52; 05-30-2011 at 05:16 AM..
Reason: Please use code tags
I am working on converting shell to Perl script. In shell we have built in function
trap
Do you know alternative in Perl or actually we don't need it?
Thanks for contribution (3 Replies)
Hi, here is my problem. I have a command line tool to process files. Now I have few hundreds of files to process. So I have written a perl script to generate the command dynamically using variables for the arguments. when I use backtick to execute those it creates error. the shell doesn't get the... (4 Replies)
Hi,
i must admit that am naive to scripting.
I got one shell script created which worked fine on linux.
Later i was told that this script is to run on MP-RAS(aka NCR Unix), which is quite an old version of Unix i understand.:wall:
in the shell script that i got created, i have made... (6 Replies)
Hi all,
Not sure if this should be in the programming forum, but I believe it will get more response under the Shell Programming and Scripting FORUM.
Am trying to write a customized df script in Perl and need some help with regards to using arrays and file handlers.
At the moment am... (3 Replies)
Hello,
I am looking for some basic script help, I am currently tailing a log with a simple
tail –f, combined with egrep –vi to remove some messages from the tail, i do not want to see.
.
I wanted to create something a little more complex were if it’s possible to script this into... (4 Replies)
Can someone please tell me what the big deal about perl is?
i have been doing shell programming for quite a number of years and I have to say, there's very little if any thing that I can't do in shell programming. i just need to investigate how to do it.
so, my question is, does deep... (1 Reply)
I need to process a file line-by-line using some value from a shell variable
Something like:perl -p -e 's/$shell_srch/$shell_replace/g' input.txt
I can't make the '-s' work in the '-p' or '-n' input loop (or couldn't find a syntaxis.)
I have searched and found... (4 Replies)
hi all,
Can we change a shell script into a perl script instead of writing a fresh one in perl? Is there any utility present that can be used for this purpose?
please help me.
Thanks in advance.. (1 Reply)
Hi Perl/UNIX experts,
I have a problem in running a shell script from my perl script (auto.pl).
I run the perl script using
perl auto.pl
from the shell prompt
The shell script picks the files in "input" folder and procesess it.
The shell script blue.sh has this code.
export... (16 Replies)