>From: "Mike A. Harris" <[EMAIL PROTECTED]>

>On Tue, 10 Oct 2000, Jonas Munsin wrote:

>>> command in Linux, or in a script, I ALWAYS use a trailing "/" as
>>> it prevents this problem.  If you're worried about double slashes
>>> being used via scripts, don't worry, it is handled correctly, for
>>> example:
>>> 
>>
>>And this is of course utterly non-portable:
>>
>>aton:~/tmp$ uname -a
>>SunOS aton 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-2
>>aton:~/tmp$ echo 1234 > file
>>aton:~/tmp$ ls -l
>>total 2
>>-rw-------   1 jmunsin  infpersonal      5 Oct 10 12:42 file
>>aton:~/tmp$ cp file dir/
>>aton:~/tmp$ ls -l
>>total 4
>>-rw-------   1 jmunsin  infpersonal      5 Oct 10 12:42 dir
>>-rw-------   1 jmunsin  infpersonal      5 Oct 10 12:42 file

>Perhaps it is time to upgrade.  A fine young Finnish cs student
>once created an operating system around your neck of the woods
>that is quite portable.  ;o)

But obviously buggy. Did you report that bug to the Linux kernel team?

J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to