Need Scripting Help

Luke Yelavich themuso at themuso.com
Sun Jan 9 22:42:38 UTC 2005


On Mon, Jan 10, 2005 at 09:05:19AM EST, David M. Carney wrote:
> Maybe this is a bit off topic, but I'm trying to write a script for my
> Ubuntu system.
> 
> This script with the program bcrypt (console program) will enable a
> person to encrypt a program by simply right-clicking on the file then
> selecting the script and providing a password.
> 
> As the script is written, it works just fine on any file with no
> spaces in the filename. However, it fails with any files with spaces
> in the filename.

Try putting double quotes "" around the variable that that has the 
filename in it.

Luke
k




More information about the ubuntu-users mailing list