11 Topics

Member Avatar for
Member Avatar for ajai.solinfi

Hi ALL, Can any one suggest me on below requirements with less memory and cpu time. I have used below code and seems it is not efficient for huge files. fgrep -v -f file2 file1 >file3 This will output file3 containing all lines from file1 that are not in file2. …

Member Avatar for ajai.solinfi
0
263
Member Avatar for boshu

I am building some SW modules in Linux environment and at the end of a build the artifacts are stored in the env in a particular folder called HW. This HW folder contains a number of folders underneath for individual targets and those contains one or more folders and files …

0
74
Member Avatar for zageela

Hi All, I am adding a calendar coded in cgi to my page.As i can use a JS calendar also but it have to do it with cgi only. my present calendar prints current month on the page.Now here the problem comes. I want each & every date to be …

Member Avatar for mitchems
0
799
Member Avatar for mandible

Hello I was wondering if there is a way to read a unix profile'd variable while inside my PERL code? I'm trying to do something like this. system( " execute some code >> $UNIXVAR\log"); also tried system( " execute some code >> '$UNIXVAR\log'"); I think though that the way I'm …

Member Avatar for subii P
0
137
Member Avatar for subii P

Hello, I am facing the a probelm, I wanted to read a unix PATH variable into perl script. But its not working. $path_var=`$PATH`; Can u help me in doing this. Thanks in advance, Subii

Member Avatar for masijade
0
120
Member Avatar for lebron

Hi, I am very new to Perl and have no knowledge to initiate this through programming view. I am in need of help with adding a new user in UNIX using Perl programming . If you know my problem could you please assist me and share your knowledge for doing …

Member Avatar for lebron
0
96
Member Avatar for jehamilt

I have a Perl program I am editing. The idea is to have it write a record to another file whenever a user access this program. Here is the Perl code I am using: open(MYFILE, ">>/usage.file"); print MYFILE "USERID: `whoami` used this on DATE: `date` \n"; close MYFILE; the problem …

Member Avatar for KevinADC
0
134
Member Avatar for kxh29

Hello All: I am attempting to do a loadtest on a process which is "suspect"... Does the following code generate multiple instances....???? [code] for ($i=0; $i <= $iteration; $i++) { printf(" Executing Iteration:==> %d\n", $iteration); system ("master_menu &"); } [/code] As you can see, I run the execution in background. …

Member Avatar for KevinADC
0
88
Member Avatar for alex_wil

Hi friends, I am using Perl Tk for a GUI application. It uses a telnet part wherin I need to login to a unix machine, execute a command and process the result. The code is as follows : my $result = $t->cmd(("grep - $filename.txt~ | wc -l | awk '{print …

Member Avatar for mandible
0
192
Member Avatar for crestaldin

[COLOR="Navy"]Hi everyone, Ps I'm new to Perl (but have been working on Unix for a while) and I'm trying to develop my skills by taking on a project . I am trying to create a perl script that when executed behaves like a Unix Shell, but I need help on …

Member Avatar for Comatose
0
221
Member Avatar for Mushy-pea

Hello everyone. I am writing a Perl script that will be installed on a Linux host. I need the script to be able to access the current time / date environment variable somtimes. I've looked through a list of the standard CGI variables that can be accessed through $ENV but …

Member Avatar for lordspace
0
96