Re: Cat a directory

2003-10-19 Thread Nicholas Holley
Karlsson Mikael HKI/SOSV wrote: And while we're on the subject of different file types why doesn't ls support coloring of different file types like in Linux. As it would make finding certain files easier by coloring them differently depending on their ending. Try http://www.mandrakelinux.com/en/

Re: Re: Cat a directory

2003-09-23 Thread Jerry McAllister
On Tue, 23 Sep 2003, Karlsson Mikael HKI/SOSV wrote: [...] which are all supported in for example GNU/Linux ls, except 10 and 11, but then they have an extra option to put different coloring on files with a special ending. So that archives, moviefiles, soundfiles etc. have a special

Re: Cat a directory

2003-09-22 Thread Mark Terribile
I hesitate to step into the fray; it appears that the phrase `more heat than light' now applies. But ... Says who? cat works fine on binary files. The problem you are having is that people are using cat to *display* files. Fixing that problem could break cat for its more standard use:

Re: Cat a directory

2003-09-22 Thread Chris Pressey
On 22 Sep 2003 09:06:00 +0300 Karlsson Mikael HKI/SOSV [EMAIL PROTECTED] wrote: [...] Ruben de Groot wrote (19.9.2003 13:34): So why don't you for example alias cat to cat -v in your system profile and login scripts? This will display non-printing characters so they are visible and don't

Re: Cat a directory

2003-09-22 Thread Damian Gerow
Thus spake Chris Pressey ([EMAIL PROTECTED]) [22/09/03 11:54]: Also, I believe 'GNU ls', in the ports, supports coloured directory listings. As does FreeBSD's ls. From 'man 1 ls': -G Enable colorized output. This option is equivalent to defining CLICOLOR in the

Re: Cat a directory

2003-09-22 Thread Matthew Seaman
On Mon, Sep 22, 2003 at 08:54:16AM -0700, Chris Pressey wrote: Also, I believe 'GNU ls', in the ports, supports coloured directory listings. Have you tried typing 'ls -G' using the system ls(1) recently? Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil.

Re: Cat a directory

2003-09-22 Thread Chris Pressey
On Mon, 22 Sep 2003 12:01:15 -0400 Damian Gerow [EMAIL PROTECTED] wrote: Thus spake Chris Pressey ([EMAIL PROTECTED]) [22/09/03 11:54]: Also, I believe 'GNU ls', in the ports, supports coloured directory listings. As does FreeBSD's ls. From 'man 1 ls': -GEnable

Re: Cat a directory

2003-09-22 Thread Warren Block
Karlsson Mikael HKI/SOSV [EMAIL PROTECTED] wrote: So it's better for a newbie to get understandable jibrish from cat when run on directories then an error message stating that they are trying to run cat on a directory like ls says when they try to run ls on a file. But as I said earlier who

Re: Re: Cat a directory

2003-09-19 Thread Ruben de Groot
On Fri, Sep 19, 2003 at 08:27:00AM +0300, Karlsson Mikael HKI/SOSV typed: OK! I admit that it isn't THE BIGGEST problem for me BUT it is A problem. What I ment in my last mail was that it is the biggest problem concerning cat. Since someone always seems to cat a binary file without having the

Re: Cat a directory

2003-09-18 Thread Dan Nelson
In the last episode (Sep 18), Karlsson Mikael HKI/SOSV said: What I just wanted to ask was if it's absolutely necessary for cat to be able to work on directories. Or if it would be possible to simply add a check to cat that tests if the file being opened is a directory and then exits with an

Re: Re: Cat a directory

2003-09-18 Thread Bill Campbell
On Fri, Sep 19, 2003, Karlsson Mikael HKI/SOSV wrote: OK! I admit that it isn't THE BIGGEST problem for me BUT it is A problem. What I ment in my last mail was that it is the biggest problem concerning cat. Since someone always seems to cat a binary file without having the knowledge of what it