Re: [9fans] Frogs?

2015-10-06 Thread Kare Nuorteva

Thanks to all for very informative replies! :)


Cheers,
Kare



Re: [9fans] Frogs?

2015-10-06 Thread Steve Simon
although this is all true, in the context of my comment needsquote() in libfmt 
is more relevant.

the rc shell has a well defined quoting convention, but this is not shared by 
awk or sed. Thus tosplit the fields in du's output you need something that 
understands this convention, like the shell itself.

-Steve





> On 5 Oct 2015, at 17:54, Nick Owens  wrote:
> 
> http://code.9front.org/hg/plan9front/file/tip/sys/src/9/port/chan.c?style=gitweb#l1637
> 
>> On Mon, Oct 5, 2015 at 9:42 AM, Kare Nuorteva  wrote:
>> 
>> 
>> Hello,
>> 
>> I've bumped into frogs a few times while lurking on this list, but cannot 
>> make much sense out of it. Could someone please explain what is a frog in a 
>> filename?
>> 
>> Cheers,
>> Kare
>> 
>> 
>> 
>> 



Re: [9fans] Frogs?

2015-10-06 Thread Bruce Ellis
As an historical note the space character was once a frog. Rob told me that
he removed it from isfrog just to see if this broke anything. It didn't.

brucee

On 7 October 2015 at 02:25, Kare Nuorteva  wrote:

>
> Thanks to all for very informative replies! :)
>
>
> Cheers,
> Kare
>
>


Re: [9fans] Frogs?

2015-10-05 Thread Charles Forsyth
On 5 October 2015 at 17:42, Kare Nuorteva  wrote:

> Could someone please explain what is a frog in a filename?


It's many decades old, and not restricted to file names. It originally
referred to an unexpected non-ASCII character in a text file:
"There's a frog in my file!" It was sometimes put there by a buggy editor
or corrupt file system. By extension it's a
character, still usually unprintable (before Unicode fonts), that doesn't
belong in its context. It's a bit of a stretch to call "/" a frog,
but that's just the name of the array.


[9fans] Frogs?

2015-10-05 Thread Kare Nuorteva


Hello,

I've bumped into frogs a few times while lurking on this list, but cannot make 
much sense out of it. Could someone please explain what is a frog in a filename?

Cheers,
Kare






Re: [9fans] Frogs?

2015-10-05 Thread Nick Owens
http://code.9front.org/hg/plan9front/file/tip/sys/src/9/port/chan.c?style=gitweb#l1637

On Mon, Oct 5, 2015 at 9:42 AM, Kare Nuorteva  wrote:
>
>
> Hello,
>
> I've bumped into frogs a few times while lurking on this list, but cannot 
> make much sense out of it. Could someone please explain what is a frog in a 
> filename?
>
> Cheers,
> Kare
>
>
>
>



Re: [9fans] Frogs?

2015-10-05 Thread Skip Tavakkolian
chars that, by convention, convey information in-band when dealing with
files (e.g. '/'); they require quoting when used in file names.

On Mon, Oct 5, 2015 at 9:42 AM, Kare Nuorteva  wrote:

>
>
> Hello,
>
> I've bumped into frogs a few times while lurking on this list, but cannot
> make much sense out of it. Could someone please explain what is a frog in a
> filename?
>
> Cheers,
> Kare
>
>
>
>
>