Angus Leeming <[EMAIL PROTECTED]> writes: < Andreas Vox wrote: < > Doesn't resolve symlinks on Mac < < and I repeat: this script is to be used to move .fig files into the temp < directory only. The worst case is that the directories are flagged as < different and so 'sed' is used rather than 'cp'. Explain to me why that is < a problem in real life rather than in some hypothetical situation.
Sorry, I didn't want to upset you. Also I didn't realize it was about the choice between sed and cp, I didn't read the patch. I thought it was about not accidently overwriting some files. I think in this case your script is just fine. < Why am I being a PITA? Because 'pwd -[PL]' is a bash shell built-in, not a < POSIX command that comes with each and every *nix box. Examples < that don't implement '-L': FreeBSD, Tru64 Unix. Nor SunOS, but it ignores these arguments. I'm sure you are better informed about POSIX standards than me :-) All I can do is test some script on MacOSX to see if it works or check a manpage, for other Unices others have more experience. Settled then? Cheers Andreas