Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 15:20:02 -0700 (PDT)
From:      Peter Pentchev <roam@orbitel.bg>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/22356: mkdir
Message-ID:  <200010272220.PAA28385@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/22356; it has been noted by GNATS.

From: Peter Pentchev <roam@orbitel.bg>
To: unixoid@pisem.net
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/22356: mkdir
Date: Sat, 28 Oct 2000 01:17:54 +0300

 On Fri, Oct 27, 2000 at 03:05:36PM -0700, unixoid@pisem.net wrote:
 > >Number:         22356
 > >Category:       misc
 > >Synopsis:       mkdir
 [snip]
 > >Description:
 > Sorry, i very bad speak english. You me that so have understood.
 > If folder is created with '-' at the beginning of its name then commands used in this folder take its name as parameter.
 > >How-To-Repeat:
 > If folder is created with '-' at the beginning of its name then commands used in this folder take its name as parameter.
 
 Why don't you give some examples?  Like the mkdir command, the commands you
 are trying to execute after that, and such?
 
 But first, a question - are you trying to execute commands *in* that directory,
 or *on* it?  I mean, if you have created a dir named 'test',
 are you doing e.g. 'cd test; ls' or are you trying to do 'ls -test'?
 
 If it is "ls -test" that is bugging you, then have you tried putting '--'
 immediately before the directory name, as in 'ls -- -test'; '--' is
 the traditional (GNU originated, I think) way of separating a command's
 flags from its other parameters, so getopt() and similar functions do not
 try to parse the parameters starting with '-' as options.
 
 G'luck,
 Peter
 
 -- 
 If I had finished this sentence,
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010272220.PAA28385>