Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
I'm so sick and tired of typing "cat $some_dir" or "ls $some_file" that I'm thinking of writing bash functions that will switch the two around, as needed. The cat $some_dir is particularly bad as it really screws up my terminal settings by spewing junk across the screen.
You want "less" (Score:1)
less dir/less file.txtHowever, on the FreeBSD machines I use, "less" can't handle directories, so I don't depend on it for that.
Re: (Score:1)
less dir/only works for me when$ENV{LESSOPEN}is set to an appropriate script, regardless of Linux or BSD.Wha? (Score:1)
catspews junk? All I get isBtw, blindly typing
reset+ Enter on a screwed terminal will often fix it.Re: (Score:2)
The reset command breaks my backspace key, though. I could probably source my .bashrc as I think I have something in there to fix it, but I can't recall.
Re: (Score:1)
errno=EISDIRonopen(".", O_WRONLY)andread(dirfd, …). IIRC, the latter varies by filesystem on BSD.mmm (Score:2)