The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
selective positions from a datafile ganapati Shell Programming and Scripting 10 09-19-2006 06:09 AM
Selective Umask baanprog UNIX for Advanced & Expert Users 3 08-03-2006 06:48 AM
Selective, recursive file diddling! dinalt UNIX for Dummies Questions & Answers 7 04-07-2005 03:31 PM
Using `tar` for a selective backup. Cameron Filesystems, Disks and Memory 2 07-16-2002 06:10 AM
selective tar image and dir perms gfarley UNIX for Advanced & Expert Users 4 06-05-2002 06:12 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-01-2005
Registered User
 

Join Date: Sep 2005
Posts: 5
echo is selective?

i tried to ask about this earlier, but didn't explain well enough. From a script, i issue the following:

echo `pgp --encrypt filename --recipient public-key`

The result is perfect. The encrypted file is in the directory just as if i'd issued the pgp command from the command line.

However, when i issue the following:

echo `pgp --decrypt filename --passphrase passphrase`

nothing happens. When this exact command is issued from a command line, the decrypted file is created.

Why does the first command issued by echo execute and not the second? i must be missing something.
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0