command line options (UNIX-specific)
Dave Decot
decot at hpisod2.HP.COM
Wed Apr 20 07:52:19 AEST 1988
> ->Why don't we bite the bullet and change our kernels to refuse
> ->to create files whose names begin with a hyphen or contain
> ->non-printing characters (unless special arrangements are made
> ->by the user to permit it)?
> ->
> NO!!!!! NYET!!!!!!! NO!!!!!!
>
> Kernels are big enough without adding features(bugs) to prevent
> users from causing damage due to their own ignorance. Put it in
> programs like cp (mv, ln), sh, ksh, csh, vi (ex, view), etc but not
> the kernel. There is enough crap in it now.
Repeat the same code over and over (probably not quite right
in some cases), and still don't totally solve the problem?
> What would you have the
> kernel return for an open(2) statement? [EDUHSCFN] (Error Dumb User
> Has Stupid Characters in file name :-) ).
No, I think EINVAL might be an appropriate errno value for this condition.
Dave Decot
hpda!decot
More information about the Comp.unix.wizards
mailing list