K.-P. Kirchd�rfer wrote:

Am Mittwoch, 12. Mai 2004 18:22 schrieb freeman:

There seems to be an implicit 'set -v' effect going on if I invoke a
script via: . script_name in that all of the scripts commands are
displayed to the screen.


Can you provide an example?


kp

Definitely...
-------------
Test environs:
   boxen: Bering uClibc 2.1.2
   connected via: ssh2 (dropbear)
       also happens via keyboard

contents of the /usr/local/bin/test222
   #!/bin/sh
   ###########
   cd /var/log
   pwd

when I type:
   test222
at the shell prompt, I get:
   /var/log

when I type:
   . test222
at the shell prompt, I get:
   #!/bin/sh
   ###########
   cd /var/log
   pwd
   /var/log
-------------
Thanks for your interest in my dilemma!

scott; canada



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to