RE: Nautilus Scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux