 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>> Try Google shopping, plently of places have it cheaper
>
> I asked Froogle, and it couldn't find anything cheaper.
http://www.google.co.uk/products?q=photoshop+cs3&hl=en&price1=525&price2=569&scoring=p
>> (dabs, scan, misco, ...).
>
> ...who?
I thought I'd heard you mention dabs before here? Oh maybe not then. scan
and misco are other fairly big online computer stores (we use misco for all
our IT stuff at work, and I've used scan a few times).
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>
http://www.google.co.uk/products?q=photoshop+cs3&hl=en&price1=525&price2=569&scoring=p
...WTF? That's the *exact* same search I did, but the results are
completely different... HOW is that possible??
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>>
http://www.google.co.uk/products?q=photoshop+cs3&hl=en&price1=525&price2=569&scoring=p
>
> ...WTF? That's the *exact* same search I did, but the results are
> completely different... HOW is that possible??
It's not :-)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
scott wrote:
>>>
http://www.google.co.uk/products?q=photoshop+cs3&hl=en&price1=525&price2=569&scoring=p
>>>
>>
>> ...WTF? That's the *exact* same search I did, but the results are
>> completely different... HOW is that possible??
>
> It's not :-)
My God, the computer hates me. Now I *really* sound paranoid! o_O
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Thu, 06 Mar 2008 12:31:24 +0000, Invisible <voi### [at] dev null> wrote:
>And, let's not forget it's my birthday soon and nobody knows what the
>hell to buy for me. ;-)
Mine too and no one ever knows what to buy me either :(
Regards
Stephen
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Stephen" <mcavoysATaolDOTcom@> wrote in message
news:ig20t3dq0v8srb01f201i0dv3qb1hctf35@4ax.com...
> On Thu, 06 Mar 2008 12:31:24 +0000, Invisible <voi### [at] dev null> wrote:
>
>>And, let's not forget it's my birthday soon and nobody knows what the
>>hell to buy for me. ;-)
>
> Mine too and no one ever knows what to buy me either :(
>
>
> Regards
> Stephen
I hate to say this but ... me too
March 22 if you're planning to be in The Jack Horner (Tottenham Court Road)
on that day :-)
John
--
No sig 'cos I'm not on my own machine
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
And lo on Thu, 06 Mar 2008 13:27:45 -0000, scott <sco### [at] laptop com> did
spake, saying:
>>> Try Google shopping, plently of places have it cheaper
>>
>> I asked Froogle, and it couldn't find anything cheaper.
>
>
http://www.google.co.uk/products?q=photoshop+cs3&hl=en&price1=525&price2=569&scoring=p
>
>>> (dabs, scan, misco, ...).
>>
>> ...who?
>
> I thought I'd heard you mention dabs before here? Oh maybe not then.
> scan and misco are other fairly big online computer stores (we use misco
> for all our IT stuff at work, and I've used scan a few times).
Then again I note both Misco and Dabs are doing PSPX2 at ~£80 and Amazon
have it at ~£40.
--
Phil Cook
--
I once tried to be apathetic, but I just couldn't be bothered
http://flipc.blogspot.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Thu, 6 Mar 2008 17:10:06 -0000, "Doctor John" <doc### [at] gmail com> wrote:
>"Stephen" <mcavoysATaolDOTcom@> wrote in message
>news:ig20t3dq0v8srb01f201i0dv3qb1hctf35@4ax.com...
>> On Thu, 06 Mar 2008 12:31:24 +0000, Invisible <voi### [at] dev null> wrote:
>>
>>>And, let's not forget it's my birthday soon and nobody knows what the
>>>hell to buy for me. ;-)
>>
>> Mine too and no one ever knows what to buy me either :(
>>
>>
>> Regards
>> Stephen
>I hate to say this but ... me too
>March 22 if you're planning to be in The Jack Horner (Tottenham Court Road)
>on that day :-)
>
Oh! that is a Saturday and I'll be home for the weekend. (I'm starting a new job
next week.) So you are a Modulo day older than me as mine is on the 23rd. of
March. And Tottenham Court Road is close to "Forbidden Planet" I'd love to meet
up.
Regards
Stephen
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Invisible" <voi### [at] dev null> wrote in message
news:47cfe41d$1@news.povray.org...
> Warp wrote:
>
> > Maybe you should try cheaper software first.
>
> Oh yes. Hell, I have *no intension* of paying £600 for something that
> might not even be any use to me...
If you are interested in a fairly powerful drawing package, get Paint shop
Pro. See if you can find version 9, I hear it went strange after that.
It's way cheaper than photoshop, but has a lot of good drawing and photo
manip features. Probably better for the hobbiest than Photoshop.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Invisible" <voi### [at] dev null> wrote in message
news:47cfe803$1@news.povray.org...
> [rant] I did ask it to *exclude* anything containing the words "student"
> or "upgrade", but the first 3 hits still contained these words. [/rant]
*g* Being a university student is so handy sometimes...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Gail Shaw <initialsurname@sentech sa dot com> wrote:
> If you are interested in a fairly powerful drawing package, get Paint shop
> Pro. See if you can find version 9, I hear it went strange after that.
> It's way cheaper than photoshop, but has a lot of good drawing and photo
> manip features. Probably better for the hobbiest than Photoshop.
Searching at amazon, it seems that it's indeed quite cheap. amazon.co.uk
doesn't seem to have version 9, but version 8 sells at 27 pounds. At
amazon.com version 9 sells at 10 dollars.
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Thu, 06 Mar 2008 21:20:39 +0100, Warp <war### [at] tag povray org> wrote:
> Gail Shaw <initialsurname@sentech sa dot com> wrote:
>> If you are interested in a fairly powerful drawing package, get Paint
>> shop
>> Pro. See if you can find version 9, I hear it went strange after that.
>> It's way cheaper than photoshop, but has a lot of good drawing and photo
>> manip features. Probably better for the hobbiest than Photoshop.
>
> Searching at amazon, it seems that it's indeed quite cheap. amazon.co.uk
> doesn't seem to have version 9, but version 8 sells at 27 pounds. At
> amazon.com version 9 sells at 10 dollars.
As I recall from when I actually used PSP, version 8 was the best in the
series. It started going downhill when Corel stepped in.
--
FE
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Gail Shaw wrote:
> *g* Being a university student is so handy sometimes...
Oh yeah! I miss the 100 mbit/sec Internet pipe... :-{
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Orchid XP v7 escribió:
> Gail Shaw wrote:
>
>> *g* Being a university student is so handy sometimes...
>
> Oh yeah! I miss the 100 mbit/sec Internet pipe... :-{
>
Heh. iPhone SDK is out today, and some bastard is bragging about his speed:
http://therepository.binarytide.com/sdk.jpg
http://www.speedtest.net/result/243051185.png
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Orchid XP v7" <voi### [at] dev null> wrote in message
news:47d05cb1$1@news.povray.org...
> Gail Shaw wrote:
>
> > *g* Being a university student is so handy sometimes...
>
> Oh yeah! I miss the 100 mbit/sec Internet pipe... :-{
*blink* Never seen one of those. *envy*
I get the student discount in some places, even thought I'm a working
part-time student. All they check for is the student card.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>>> *g* Being a university student is so handy sometimes...
>> Oh yeah! I miss the 100 mbit/sec Internet pipe... :-{
>
> *blink* Never seen one of those. *envy*
Yeah. Back when I was at uni, "broadband" hadn't been invented yet.
Everybody accessed the Internet with 36KB modems. If they could afford
such an expensive device, and the ISP charges to go with it. (Assuming
your ISP supported 36KB yet.) And sitting at uni, I had 100 Mbit to play
with! (OK, shared between me and 80 other people in the building, but
still...)
Some of the guys in the NERV clan *still* get 100 Mbit. Oh to be young
again...
[Mind you, some of those guys get SEX too. Lucky ****s!]
> I get the student discount in some places, even thought I'm a working
> part-time student. All they check for is the student card.
My sister kept her card for years after she finished uni. Used it
everywhere. Took a while for people to start noticing... ;-)
Come to think of it, both me and my sister have the "student" version of
M$ Office. I don't know *how* it's supposed to tell whether you're a
student or not...
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> As I recall from when I actually used PSP, version 8 was the best in the
> series. It started going downhill when Corel stepped in.
I used V8 for a long time at work, and V9 at home. I just recently got the
latest Pro Photo X2 from Corel ... and really, I don't see any big
differences, apart from nicer eye candy. The functionality is still all
there, the menus are almost identical, a few additional tools and better
designed older tools, but essentially 95% the same program.
So I'd agree with Gail and Warp, go get a cheap copy of PSP 8 or 9 and give
that a whirl - it has most of the features that a non-Pro uses in Photoshop
anyway.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Stephen wrote:
> On Thu, 6 Mar 2008 17:10:06 -0000, "Doctor John" <doc### [at] gmail com> wrote:
>
>> "Stephen" <mcavoysATaolDOTcom@> wrote in message
>> news:ig20t3dq0v8srb01f201i0dv3qb1hctf35@4ax.com...
>>> On Thu, 06 Mar 2008 12:31:24 +0000, Invisible <voi### [at] dev null> wrote:
>>>
>>>> And, let's not forget it's my birthday soon and nobody knows what the
>>>> hell to buy for me. ;-)
>>> Mine too and no one ever knows what to buy me either :(
>>>
>>>
>>> Regards
>>> Stephen
>> I hate to say this but ... me too
>> March 22 if you're planning to be in The Jack Horner (Tottenham Court Road)
>> on that day :-)
>>
>
> Oh! that is a Saturday and I'll be home for the weekend. (I'm starting a new job
> next week.) So you are a Modulo day older than me as mine is on the 23rd. of
> March. And Tottenham Court Road is close to "Forbidden Planet" I'd love to meet
> up.
>
> Regards
> Stephen
Ok, lets go for it. Set a time and I'll be there.
Anyone else up for a meet?
John
--
I will be brief but not nearly so brief as Salvador Dali, who gave the
world's shortest speech. He said, "I will be so brief I am already
finished," then he sat down.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Orchid XP v7 wrote:
>
> Come to think of it, both me and my sister have the "student" version of
> M$ Office. I don't know *how* it's supposed to tell whether you're a
> student or not...
>
It never gets started before 2pm and definitely never on a weekend :-)
John
--
I will be brief but not nearly so brief as Salvador Dali, who gave the
world's shortest speech. He said, "I will be so brief I am already
finished," then he sat down.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Doctor John wrote:
> Orchid XP v7 wrote:
>> Come to think of it, both me and my sister have the "student" version of
>> M$ Office. I don't know *how* it's supposed to tell whether you're a
>> student or not...
>>
> It never gets started before 2pm and definitely never on a weekend :-)
*rimshot*
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Fri, 07 Mar 2008 12:27:17 +0000, Doctor John <doc### [at] gmail com> wrote:
>>> March 22 if you're planning to be in The Jack Horner (Tottenham Court Road)
>>> on that day :-)
>>>
>>
>> Oh! that is a Saturday and I'll be home for the weekend. (I'm starting a new job
>> next week.) So you are a Modulo day older than me as mine is on the 23rd. of
>> March. And Tottenham Court Road is close to "Forbidden Planet" I'd love to meet
>> up.
>Ok, lets go for it. Set a time and I'll be there.
>Anyone else up for a meet?
I've not been for a drink there but it looks like a good location. Easy to get
to from Euston, Kings Cross or Liverpool St. (For the out of towners :) As for a
time, I'm easy and it is only about a half and hour from my home by the bendy
bus #18.
Do you want to wait to see if anyone else will join us before setting a time?
Regards
Stephen
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
scott wrote:
>> As I recall from when I actually used PSP, version 8 was the best in
>> the series. It started going downhill when Corel stepped in.
>
> I used V8 for a long time at work, and V9 at home. I just recently got
> the latest Pro Photo X2 from Corel ... and really, I don't see any big
> differences, apart from nicer eye candy. The functionality is still all
> there, the menus are almost identical, a few additional tools and better
> designed older tools, but essentially 95% the same program.
>
> So I'd agree with Gail and Warp, go get a cheap copy of PSP 8 or 9 and
> give that a whirl - it has most of the features that a non-Pro uses in
> Photoshop anyway.
Heck, I use version 7...even 8 was too bloatware for my taste.
--
Tim Cook
http://empyrean.digitalartsuk.com
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Tim Cook escribió:
> Heck, I use version 7...even 8 was too bloatware for my taste.
http://stuff.povaddict.com.ar/psp5.png
I tried 8 or 9 and I was impressed at the amount of bloat.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Fri, 07 Mar 2008 16:05:08 -0500, Tim Cook <z99### [at] gmail com> wrote:
>
>Heck, I use version 7...even 8 was too bloatware for my taste.
I just checked and I'm using Version 6
Regards
Stephen
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Nicolas Alvarez wrote:
> Tim Cook escribi�³:
>> Heck, I use version 7...even 8 was too bloatware for my taste.
>
> http://stuff.povaddict.com.ar/psp5.png
>
> I tried 8 or 9 and I was impressed at the amount of bloat.
I love the Unix philosophy of making specific, lightweight tools that
interoperate, rather than gargantuan monolithic beasts that do
everything rather poorly.
--
...Ben Chambers
www.pacificwebguy.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Chambers <ben### [at] pacificwebguy com> wrote:
> I love the Unix philosophy of making specific, lightweight tools that
> interoperate, rather than gargantuan monolithic beasts that do
> everything rather poorly.
In a graphical user interface it's more difficult to make them
interoperate, which is probably one reason why they usually don't.
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Warp escribió:
> Chambers <ben### [at] pacificwebguy com> wrote:
>> I love the Unix philosophy of making specific, lightweight tools that
>> interoperate, rather than gargantuan monolithic beasts that do
>> everything rather poorly.
>
> In a graphical user interface it's more difficult to make them
> interoperate, which is probably one reason why they usually don't.
And also one reason why command-line tools are better for many things.
(image editing probably not one of them)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Nicolas Alvarez <nic### [at] gmail is the best com> wrote:
> > In a graphical user interface it's more difficult to make them
> > interoperate, which is probably one reason why they usually don't.
> And also one reason why command-line tools are better for many things.
True, although I have to admit that sometimes a graphical user interface
just makes some things easier, faster and more practical (although not so
many things as many people seem to believe.)
> (image editing probably not one of them)
Basically anything involving heavy amounts of multimedia.
(Playing video/music files may be a borderline case, though. For example
mplayer is a superb command-line media player, and mencoder is a good
command-line tool for converting videos and a good "ripping" tool.)
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> I love the Unix philosophy of making specific, lightweight tools that
> interoperate, rather than gargantuan monolithic beasts that do
> everything rather poorly.
See, now, personally I hate that. It annoys the hell out of me that the
Unix way is to use 50,000 tiny tools with all have far too many
backwards compatibility modes, bugs and "features".
["This makes it read from a file. Unless the file is named '-', in which
case it reads from stdin." OK, so how do I make it read from a file
that's actually named '-' then? And other surprising ad-hoc behaviours...]
But then, I guess that's just my opinion.
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Orchid XP v7 escribió:
> ["This makes it read from a file. Unless the file is named '-', in which
> case it reads from stdin." OK, so how do I make it read from a file
> that's actually named '-' then? And other surprising ad-hoc behaviours...]
./-
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Nicolas Alvarez wrote:
> Orchid XP v7 escribió:
>> ["This makes it read from a file. Unless the file is named '-', in
>> which case it reads from stdin." OK, so how do I make it read from a
>> file that's actually named '-' then? And other surprising ad-hoc
>> behaviours...]
>
> ./-
OK. But it now means that if you write a script that does this, you need
to explicitly check whether the file you're going to process just
happens to be called "-" and manually escape it if it is. And just
think, if you didn't realise that, your script might be used for *years*
before somebody tries to use it in that specific way and makes it crash
spectacularly.
Urg. Anyways...
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Orchid XP v7 escribió:
> Nicolas Alvarez wrote:
>> Orchid XP v7 escribió:
>>> ["This makes it read from a file. Unless the file is named '-', in
>>> which case it reads from stdin." OK, so how do I make it read from a
>>> file that's actually named '-' then? And other surprising ad-hoc
>>> behaviours...]
>>
>> ./-
>
> OK. But it now means that if you write a script that does this, you need
> to explicitly check whether the file you're going to process just
> happens to be called "-" and manually escape it if it is. And just
> think, if you didn't realise that, your script might be used for *years*
> before somebody tries to use it in that specific way and makes it crash
> spectacularly.
1. If the file is called -, you're calling for trouble anyway.
2. Whoever passes a filename to your script should be using the ./- thing.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Orchid XP v7 <voi### [at] dev null> wrote:
> > I love the Unix philosophy of making specific, lightweight tools that
> > interoperate, rather than gargantuan monolithic beasts that do
> > everything rather poorly.
> See, now, personally I hate that. It annoys the hell out of me that the
> Unix way is to use 50,000 tiny tools with all have far too many
> backwards compatibility modes, bugs and "features".
He was talking about the unix philosophy, not how this philosophy has
been implemented in some environments.
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Nicolas Alvarez <nic### [at] gmail is the best com> wrote:
> 1. If the file is called -, you're calling for trouble anyway.
> 2. Whoever passes a filename to your script should be using the ./- thing.
Many shellscripts break with file names with spaces in them. This is
because surprisingly few unix geeks know that in shell scripts you have
to use "$@" to refer to all the command-line arguments, not $*.
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Warp wrote:
> Nicolas Alvarez <nic### [at] gmail is the best com> wrote:
>> 1. If the file is called -, you're calling for trouble anyway.
>
>> 2. Whoever passes a filename to your script should be using the ./- thing.
>
> Many shellscripts break with file names with spaces in them.
Actually, it's worse. There are surprisingly few utilities that don't
break on *any* possible file name.
Here's a contest. Given the directory /tmp/stuff, delete all the files
in that directory that end with ".tmp".
Let's see how many iterations it takes to get actually right.
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Darren New escribió:
> Here's a contest. Given the directory /tmp/stuff, delete all the files
> in that directory that end with ".tmp".
>
> Let's see how many iterations it takes to get actually right.
Then I guess rm /tmp/stuff/*.tmp isn't good enough? :)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Nicolas Alvarez wrote:
> Darren New escribió:
>> Here's a contest. Given the directory /tmp/stuff, delete all the files
>> in that directory that end with ".tmp".
>>
>> Let's see how many iterations it takes to get actually right.
>
> Then I guess rm /tmp/stuff/*.tmp isn't good enough? :)
That doesn't even work if there *aren't* funky characters in the file name.
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Darren New <dne### [at] san rr com> wrote:
> Nicolas Alvarez wrote:
> > Darren New escribió:
> >> Here's a contest. Given the directory /tmp/stuff, delete all the files
> >> in that directory that end with ".tmp".
> >>
> >> Let's see how many iterations it takes to get actually right.
> >
> > Then I guess rm /tmp/stuff/*.tmp isn't good enough? :)
> That doesn't even work if there *aren't* funky characters in the file name.
It *does* work, assuming you have a sufficiently modern shell (and not
a 20 years old sh). Modern shells are rather smart at escaping what needs
to be escaped when you write "*".
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Warp wrote:
> Darren New <dne### [at] san rr com> wrote:
>> Nicolas Alvarez wrote:
>>> Darren New escribió:
>>>> Here's a contest. Given the directory /tmp/stuff, delete all the files
>>>> in that directory that end with ".tmp".
>>>>
>>>> Let's see how many iterations it takes to get actually right.
>>> Then I guess rm /tmp/stuff/*.tmp isn't good enough? :)
>
>> That doesn't even work if there *aren't* funky characters in the file name.
>
> It *does* work, assuming you have a sufficiently modern shell (and not
> a 20 years old sh). Modern shells are rather smart at escaping what needs
> to be escaped when you write "*".
Bull. Put 300,000 files to be deleted in /tmp/stuff, and watch it bomb.
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Orchid XP v7 wrote:
>> I love the Unix philosophy of making specific, lightweight tools that
>> interoperate, rather than gargantuan monolithic beasts that do
>> everything rather poorly.
>
> See, now, personally I hate that. It annoys the hell out of me that the
> Unix way is to use 50,000 tiny tools with all have far too many
> backwards compatibility modes, bugs and "features".
So what you're really saying, is that we need a modern implementation of
traditional Unix style tools, distributed as a package. It wouldn't
need a ton of that backwards-compatibility stuff, because all of the
included tools are fresh implementations that we know work together.
--
...Ben Chambers
www.pacificwebguy.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Chambers wrote:
> So what you're really saying, is that we need a modern implementation of
> traditional Unix style tools, distributed as a package. It wouldn't
> need a ton of that backwards-compatibility stuff, because all of the
> included tools are fresh implementations that we know work together.
What I'm saying is that "Unix" isn't a single coherant design. It's
50,000 random people all doing their own seperate thing, and expecting
the result to actually function. Which, almost unbelievably, it does.
But *damn* is it messy...
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Orchid XP v7 <voi### [at] dev null> wrote:
> What I'm saying is that "Unix" isn't a single coherant design. It's
> 50,000 random people all doing their own seperate thing, and expecting
> the result to actually function. Which, almost unbelievably, it does.
> But *damn* is it messy...
I really fail to see how that is at all different from Windows. ;)
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Sat, 08 Mar 2008 10:46:57 -0800, Chambers wrote:
> Nicolas Alvarez wrote:
>> Tim Cook escribió:
>>> Heck, I use version 7...even 8 was too bloatware for my taste.
>>
>> http://stuff.povaddict.com.ar/psp5.png
>>
>> I tried 8 or 9 and I was impressed at the amount of bloat.
>
> I love the Unix philosophy of making specific, lightweight tools that
> interoperate, rather than gargantuan monolithic beasts that do
> everything rather poorly.
Ditto. When I do data manipulation now in oocalc, I often parse the data
first by piping it through a series of awk scripts and grep filters to
get the data I'm interested in, *then* import it.
Makes it easier to aggregate the stuff I look at.
Jim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Sat, 08 Mar 2008 19:16:28 +0000, Orchid XP v7 wrote:
> ["This makes it read from a file. Unless the file is named '-', in which
> case it reads from stdin." OK, so how do I make it read from a file
> that's actually named '-' then? And other surprising ad-hoc
> behaviours...]
(a) you don't name a file '-' because it's got a special meaning to the
shell, or
(b) you escape the filename.
Jim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Sat, 08 Mar 2008 11:54:07 -0800, Darren New wrote:
> Here's a contest. Given the directory /tmp/stuff, delete all the files
> in that directory that end with ".tmp".
cd /tmp/stuff; find -type f | grep tmp$ | awk '{system("rm \"" $0 "\""))'
Jim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Jim Henderson <nos### [at] nospam com> wrote:
> cd /tmp/stuff; find -type f | grep tmp$ | awk '{system("rm \"" $0 "\""))'
Why does it need to be so complicated?
find /tmp/stuff -name "*.tmp" -exec rm {} \;
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Jim Henderson wrote:
> On Sat, 08 Mar 2008 11:54:07 -0800, Darren New wrote:
>
>> Here's a contest. Given the directory /tmp/stuff, delete all the files
>> in that directory that end with ".tmp".
>
> cd /tmp/stuff; find -type f | grep tmp$ | awk '{system("rm \"" $0 "\""))'
Great. Now try it on a directory with the following names in it:
-rf\n.tmp (where the \n means newline, of course)
<.tmp
.xyz.tmp
hip"hop.tmp
hop'hip.tmp
this.tmp;that.tmp
this\bthat.tmp (where the \b means bell)
this\bthat.tmp (where the \b is two characters, backslash and b)
Two for zero... ;-)
Altho I expect 'find . -name '*.tmp' -exec rm {} \;" might work, but
only because you know the name ends in '.tmp'. You might be able to
manage '-exec rm ./{}' and make it work too. I haven't tested that. I do
know it'll be an order of magnitude slower due to all the invocations of
/bin/rm.
For a real fun time, try "delete all the files in the directory without
deleting the directory". Or "copy them to the /tmp/keep" directory
(which, as far as I can tell, xargs doesn't help with.)
(I work with big directories, and big files. Often I'll have a program
that runs 3 hours, then takes half an hour to delete its input files. Or
individual files that take 2 minutes of disk I/O to delete. Or empty
directories that take several minutes to delete because they used to
have six or seven million files in em. And of course, the machine
becomes completely unusable during any sort of operation like that.)
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Warp wrote:
> Why does it need to be so complicated?
> find /tmp/stuff -name "*.tmp" -exec rm {} \;
> It *does* work, assuming you have a sufficiently modern shell (and not
> a 20 years old sh). Modern shells are rather smart at escaping what needs
> to be escaped when you write "*".
In other words, if you completely bypass the shell, it can be made easy
to work. Otherwise you get things like "no such user John.tmp" when you
try to delete "~John.tmp". And if you want to delete all the files in
the directory, you have to add more escaping. And if you want to scp
them to a different server, you really don't want to be typing the
password for each one, so you either have to use xargs (with the -0
switch, which is why that's there!) or manage to tar them up somehow,
which has the same problems.
Anyway, my point was that it's kind of unobvious to get right, not that
it couldn't be done. I generally just break out Tcl for such a task
(since Tcl doesn't reparse things repeatedly without you asking
explicitly), as it's easier than trying to come up with the right list
of flags to the various programs.
Yet every time I mention the kinds of problems it causes, the UNIX
dweebs *I* know will fight to the death their need to be able to put
backspaces and vertical tab characters into file names. You might as
well try to convince a FORTH programmer that it isn't necessary to have
the ability to start the name of a function with a closing parenthesis.
</rant> :-)
Having the shell doing your expansion has caught me other times, too...
% cat a b c >d
Can't create d: permission denied
% sudo !!
Can't create d: permission denied
Of course, the real line was much longer, so a simple "su" meant
retyping the line (or using copy-and-paste to retype it for you) instead
of just !! or up-arrow. :-)
However, I'm glad Windows finally forced people writing Unix shells to
start dealing with funky file names as a regular occurrence. ;-) I
noticed that the shells started learning to do proper quoting (like for
command-line completion) right around the time SAMBA shares with
MSWindows servers got popular. :-)
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Darren New <dne### [at] san rr com> wrote:
> In other words, if you completely bypass the shell, it can be made easy
> to work. Otherwise you get things like "no such user John.tmp" when you
> try to delete "~John.tmp".
Only if you write "~John.tmp" by hand instead of letting the shell do
the proper expansion.
> And if you want to delete all the files in
> the directory, you have to add more escaping.
Well, if "rm *" works (ie. there aren't too many files), you don't.
If there are too many files, I suppose you'll have to use the 'find'
trick.
> And if you want to scp
> them to a different server, you really don't want to be typing the
> password for each one
If you do a "scp *" it won't ask the password for each one.
>, so you either have to use xargs (with the -0
> switch, which is why that's there!) or manage to tar them up somehow,
> which has the same problems.
What's the problem with tarring them? "tar -cvf . files.tar"
> Anyway, my point was that it's kind of unobvious to get right
Granted, the only problem I have seen so far is when there are way
too many files in the directory, in which case "*" expand to too many.
However, I haven't seen any problems with special characters so far.
> Yet every time I mention the kinds of problems it causes, the UNIX
> dweebs *I* know will fight to the death their need to be able to put
> backspaces and vertical tab characters into file names.
The only valid point you have presented is the too-many-files argument,
which can be a real problem for the * expansion. So far I haven't seen
any real problem with special characters.
> Having the shell doing your expansion has caught me other times, too...
> % cat a b c >d
> Can't create d: permission denied
> % sudo !!
> Can't create d: permission denied
> Of course, the real line was much longer, so a simple "su" meant
> retyping the line (or using copy-and-paste to retype it for you) instead
> of just !! or up-arrow. :-)
What's wrong with getting the command from the command history with
the up cursor, going to the beginning of the line with ctrl-a and then
adding the "sudo" there?
> However, I'm glad Windows finally forced people writing Unix shells to
> start dealing with funky file names as a regular occurrence. ;-) I
> noticed that the shells started learning to do proper quoting (like for
> command-line completion) right around the time SAMBA shares with
> MSWindows servers got popular. :-)
Still many shell scripts fail to use the basic "$@" for the correct
expansion of all the parameters (and instead use $*, which is wrong).
Not all unix geeks know all the right tools either.
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Darren New <dne### [at] san rr com> wrote:
> (I work with big directories, and big files. Often I'll have a program
> that runs 3 hours, then takes half an hour to delete its input files. Or
> individual files that take 2 minutes of disk I/O to delete. Or empty
> directories that take several minutes to delete because they used to
> have six or seven million files in em. And of course, the machine
> becomes completely unusable during any sort of operation like that.)
Isn't that a clear sign that a re-design of your programs is in place?-)
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |