Nautilus Scripts

Rui Miguel Seabra rms at 1407.org
Tue Dec 16 11:11:53 UTC 2003


Another person posted a much better script, only not zen'ified, which
would make it more consistent with the rest of the destop.

As for our doubt:

On Tue, 2003-12-16 at 01:49, Ow Mun Heng wrote:
> 1. EXT=".txt"
> 2. BNAME=`basename $New_Document $EXT`
> 3. if test ! $New_Document == $BNAME ; then
> 4.   New_Document=$BNAME
> 5. fi
> 6. echo "$New_Document"
> 
> Line 3 will test if anything was typed into the zenity dialog box???

It's just a trick to avoid getting files named (...).txt.txt

Hugs, Rui

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20031216/d84731e4/attachment-0002.bin 


More information about the users mailing list