Re: ALT-sp (Was: how to make 'for' understand two words as asingleargumen)

2001-10-04 Thread Michael Sinz

Dag-Erling Smorgrav wrote:
 
 Michael Sinz [EMAIL PROTECTED] writes:
  BTW - How does your system represent a file with 0xA0 in it?  An ls on
  FreeBSD 4.4-Stable seems to show it as:
 
  -rw-r--r--  1 msinz  msinz   0 Oct  3 12:00 foo?bar
 
  Interesting - not what I would have expected but I think non-printables
  are replaced by the ? when ls runs.
 
  Even more interesting is this:
 
  -rw-r--r--  1 msinz  msinz   0 Oct  3 12:00 foo?bar
  -rw-r--r--  1 msinz  msinz   1 Oct  3 12:05 foo?bar
 
 
 This is only interesting (in the sense in which you seem to use the
 word) to someone who has not read the ls(1) manual page, and does not
 know of the -q and -B options...

This was within the context of alt-space replacing spaces in file names.
As things stand now, it is not even easily usable as the main tool used
to list the files in a directory does not show it correctly.  (As far as
the non-printables, I agree that LS is supposed to do, but is non-breaking
space really a non-printable?)

-- 
Michael Sinz  Worldgate Communications  [EMAIL PROTECTED]
A master's secrets are only as good as
the master's ability to explain them to others.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: ALT-sp (Was: how to make 'for' understand two words as asingleargumen)

2001-10-04 Thread Greg Shenaut

In message 89efc3b204df3107d1@[192.168.1.4], Michael Sinz cleopede:
This was within the context of alt-space replacing spaces in file names.
As things stand now, it is not even easily usable as the main tool used
to list the files in a directory does not show it correctly.  (As far as
the non-printables, I agree that LS is supposed to do, but is non-breaking
space really a non-printable?)

  touch altALT-spacespace regularspacespace

  env LANG=fr_FR.ISO_8859-1 ls
  alt space
  regular space

  env LANG= ls
  alt?space
  regular space

I believe that most (not quite all) character sets in which 0xa0
is defined at all use it for unbreakable space.  (But it is not
defined in 7-bit ASCII, which is the FreeBSD default.)

Greg Shenaut

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message