after exectue the command system(cd /home/tomer/temp)
I dont see the terminal change the direcotry?
maybe the change is valid only in the script?
how can i control seeing terminal direcotry with perl script ?
Thanks
Tomer
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional
Hi Tomer,
tomer wrote:
after exectue the command system(cd /home/tomer/temp)
I dont see the terminal change the direcotry?
maybe the change is valid only in the script?
how can i control seeing terminal direcotry with perl script ?
system might not be what you want. What it does
I'm not sure, but putting a ; between the commands might work:
system cd ..; pwd
On Mon, 2005-08-29 at 18:06 +0300, Eliyah Kilada wrote:
Hi,
- I agree with u that a shell script is more appropriate, but how I can
write regular expressions in this way ? ;-)
Regards,
Eliyah
Jeff
On Mon, 29 Aug 2005, Eliyah Kilada wrote:
- I agree with [you] that a shell script is more appropriate, but how
can I write regular expressions in this way ? ;-)
By typing them, naturally :-)
In shell scripts, grep, sed awk are the common regex using tools;
depending on what you're doing,
Hi,
It seems that the following code gives unexpected results:
system (cd $dir_name);
system (pwd);
--- this prints the old directory name not the new one. In other words,
the previous (cd) command hasn't taken its effect!
Do anyone know why?
Thanks And Best Regards,
Eliyah
Eliyah Kilada wrote:
Hi,
It seems that the following code gives unexpected results:
system (cd $dir_name);
system (pwd);
--- this prints the old directory name not the new one. In other
words, the previous (cd) command hasn't taken its effect!
Do anyone know why?
Each call to system
Hi,
How can I access a specific child process, such that I put all my system
commands in one child process?
Thanks alot
Eliyah
Bob Showalter wrote:
Eliyah Kilada wrote:
Hi,
It seems that the following code gives unexpected results:
system (cd $dir_name);
system (pwd);
--- this prints
On Aug 29, Eliyah Kilada said:
How can I access a specific child process, such that I put all my system
commands in one child process?
It sounds like you want a shell script rather than a Perl program. Or,
perhaps you should figure out how to do things via Perl rather than
calling the
Hi,
- I agree with u that a shell script is more appropriate, but how I can
write regular expressions in this way ? ;-)
Regards,
Eliyah
Jeff 'japhy' Pinyan wrote:
On Aug 29, Eliyah Kilada said:
How can I access a specific child process, such that I put all my
system commands in one
Hi All
Why can't I move to the parent directory using
system cd ..;
Actually cd command doesn't work at all with system !!! why ?
Though I can do so by
chdir(..);
Is there a way to physically move to another dir, for eg.
[aman@aman /usr/home/aman]$./pdir.pl
[aman@aman /usr/home]$
Thanks
On Friday, April 5, 2002, at 09:29 , Aman Raheja wrote:
Hi All
Why can't I move to the parent directory using
system cd ..;
Actually cd command doesn't work at all with system !!! why ?
note: 'system' invokes a 'sub shell' - and that
sub shell changed directories - while the calling
code
11 matches
Mail list logo