FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-27-2011, 11:27 AM
lee
 
Default Accented chars in filenames issue

Scott Ferguson <prettyfly.productions@gmail.com> writes:

> On 27/06/11 00:55, William Hopkins wrote:
>> On 06/26/11 at 09:45pm, Scott Ferguson wrote:
>>> On 26/06/11 19:25, Tom Furie wrote:
>>>> On Sat, Jun 25, 2011 at 03:20:13PM +1000, Scott Ferguson wrote:
>>>>> On 25/06/11 10:16, lee wrote:
>>>
>>> <snipped>
>>> What does the "--" do??
>>
>> POSIX standard is for -- to signify end of options, so anything beyond that
>> cannot be processed as a switch/option.
>>
>> ,-----------
>> | Guideline 10:
>> | The first -- argument that is not an option-argument should be accepted as
>> | a delimiter indicating the end of options. Any following arguments should be
>> | treated as operands, even if they begin with the '-' character.
>> ,-----------
>>
>
> Thanks -- should prove very useful (much simpler safety than other
> proposals). Also explains why it didn't throw an error.

There's a difference between "touch -- file*" and "touch "file*"", isn't
there? The guideline also says "should", not "must".


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 871uyfo6p6.fsf@yun.yagibdah.de">http://lists.debian.org/871uyfo6p6.fsf@yun.yagibdah.de
 
Old 06-27-2011, 05:24 PM
Chris Davies
 
Default Accented chars in filenames issue

lee <lee@yun.yagibdah.de> wrote:
> There's a difference between "touch -- file*" and "touch "file*"", isn't
> there?

Yes there is, and you can see the difference when you have one or more
files, in the current directory, whose names start with "file". (Hint:
precede or replace 'touch' with 'echo'.)

Chris


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: quqmd8xa6f.ln2@news.roaima.co.uk">http://lists.debian.org/quqmd8xa6f.ln2@news.roaima.co.uk
 

Thread Tools




All times are GMT. The time now is 06:23 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org