Re: Re: [ilugd] Re: Shell Script:Help Required.

Raj Mathur <[email protected]> Thu, 2 Sep 2004 17:14:09 +0530
Newsgroups gmane.user-groups.linux.delhi.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Amit" == amitflu  <amitflu-/[email protected]> writes:

    Amit> Thanks Raj,

    Amit> Ok I will try to explain my exact requirement.

    Amit> Final objective of my script is to make a tar ball whose
    Amit> name should be same as the name of the Standard Output File.

If that's the case IMO you'd be better off changing the invocation
method of the script.  There's no platform-independent method of
getting the name of the file STDOUT is redirected to.

Regards,

- -- Raju
- -- 
Raj Mathur                [email protected]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFBNweHyWjQ78xo0X8RAgljAJ4llUHpFdVa2WaBxu/RecgECmWesACfSCvm
TwSqKOimWuXJQiaqUgDfLSg=
=kSbF
-----END PGP SIGNATURE-----