Need Scripting Help

David M. Carney carney1979 at gmail.com
Mon Jan 10 01:04:05 UTC 2005


On Mon, 10 Jan 2005 10:12:39 +1100, Luke Yelavich <themuso at themuso.com> wrote:
> On Mon, Jan 10, 2005 at 10:01:50AM EST, David M. Carney wrote:
> > On Mon, 10 Jan 2005 09:42:38 +1100, Luke Yelavich <themuso at themuso.com> wrote:
> > > On Mon, Jan 10, 2005 at 09:05:19AM EST, David M. Carney wrote:
> > > > 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.
> > >
> > Tried that. Didn't work.
> >
> > Thanks though.
> 
> Could you possibly post your script? I think I, and others might get a
> better idea of what the problem is if we can see it.
> 
> Thanks
> 
> Luke
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
It was in the original post in the thread.

Here it is again....

#!/bin/bash
#
for I in `echo $*`
do
   exec gnome-terminal --command="bcrypt "$I
done
exit0

David

-- 
Registered Linux User #297958




More information about the ubuntu-users mailing list