POV-Ray : Newsgroups : povray.off-topic : Very cool Ubuntu distro Server Time
9 Oct 2024 08:20:10 EDT (-0400)
  Very cool Ubuntu distro (Message 34 to 43 of 43)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 04:34:09
Message: <49e44a81$1@news.povray.org>
>> Does that work recursively?
> 
> Pass /R and it will.

Will %I contain the complete pathname? Or just relative from the CWD?

Actually, what the hell, there's a simple way to find out...


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 11:43:25
Message: <49e4af1d$1@news.povray.org>
Invisible wrote:
> Opening a command prompt and navigating it to the same place as the 
> Explorer window you already have open *is* frustratingly tedious. Some 
> day I'll have to find a way around that...

It's called "open command prompt here". :-) Google it.

Built into vista - hold the shift key when you right-click the folder icon.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 11:44:06
Message: <49e4af46$1@news.povray.org>
Invisible wrote:
>>> Does that work recursively?
>>
>> Pass /R and it will.
> 
> Will %I contain the complete pathname? Or just relative from the CWD?
> 
> Actually, what the hell, there's a simple way to find out...

Yes.

for /?

Like we said...  There's literally 5 screens of options.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 11:46:58
Message: <49e4aff2$1@news.povray.org>
>> Will %I contain the complete pathname? Or just relative from the CWD?
>>
>> Actually, what the hell, there's a simple way to find out...
> 
> Yes.
> 
> for /?

I was thinking more along the lines of

   FOR /R %f IN (*) DO echo %f

actually. :-P

> Like we said...  There's literally 5 screens of options.

...and no way of reading it easily. :-P


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 12:16:44
Message: <49e4b6ec$1@news.povray.org>
Invisible wrote:
>>> Will %I contain the complete pathname? Or just relative from the CWD?
>>>
>>> Actually, what the hell, there's a simple way to find out...
>>
>> Yes.
>>
>> for /?
> 
> I was thinking more along the lines of
> 
>   FOR /R %f IN (*) DO echo %f

Yes. But the right answer is "both, depending on what options you give."

>> Like we said...  There's literally 5 screens of options.
> ...and no way of reading it easily. :-P

Uh, why not?  I assume you're literate, you have a Windows machine, and a 
keyboard and screen, or you wouldn't be asking about it.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Orchid XP v8
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 16:32:17
Message: <49e4f2d1$1@news.povray.org>
>> I was thinking more along the lines of
>>
>>   FOR /R %f IN (*) DO echo %f
> 
> Yes. But the right answer is "both, depending on what options you give."

Probably, yes. (I already figured out - for another problem - that %~nf 
strips the file extension.) Personally, I'm not fond of all these funky 
abbriviations. I'd refer something like %{drop suffix %f} or something.

>>> Like we said...  There's literally 5 screens of options.
>> ...and no way of reading it easily. :-P
> 
> Uh, why not?  I assume you're literate, you have a Windows machine, and 
> a keyboard and screen, or you wouldn't be asking about it.

Have you tried using the Windows pager? It's horrid. :-S

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: nemesis
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 21:40:01
Message: <web.49e53a8c14a2c6a42fb544090@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> >> I was thinking more along the lines of
> >>
> >>   FOR /R %f IN (*) DO echo %f
> >
> > Yes. But the right answer is "both, depending on what options you give."
>
> Probably, yes. (I already figured out - for another problem - that %~nf
> strips the file extension.) Personally, I'm not fond of all these funky
> abbriviations. I'd refer something like %{drop suffix %f} or something.

ah, the guy who enjoys a programming language comprised of obfuscated symbols in
confusing point-free style wish what is supposed to be concise scripting
languages to be comprised of verbose commands.  Makes plenty of sense. ;)


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 15 Apr 2009 04:25:01
Message: <49e599dd@news.povray.org>
nemesis wrote:

> ah, the guy who enjoys a programming language comprised of obfuscated symbols in
> confusing point-free style

I disagree.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Very cool Ubuntu distro
Date: 22 Apr 2009 11:23:33
Message: <49ef3675@news.povray.org>
Orchid XP v8 wrote:
>>> I was thinking more along the lines of
>>>
>>>   FOR /R %f IN (*) DO echo %f
>> 
>> Yes. But the right answer is "both, depending on what options you give."
> 
> Probably, yes. (I already figured out - for another problem - that %~nf
> strips the file extension.) Personally, I'm not fond of all these funky
> abbriviations. I'd refer something like %{drop suffix %f} or something.

You've clearly never used Perl?


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 22 Apr 2009 11:27:49
Message: <49ef3775$1@news.povray.org>
>> Probably, yes. (I already figured out - for another problem - that %~nf
>> strips the file extension.) Personally, I'm not fond of all these funky
>> abbriviations. I'd refer something like %{drop suffix %f} or something.
> 
> You've clearly never used Perl?

It's something I try to avoid, yes.

(I sat down with a book one day and wrote a Perl CGI script. A week 
later, I couldn't figure out how in the name of God it actually works...)


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.