Re: crontab(1) using stdin

Mouse <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
> It appears to me that NetBSD's crontab(5) uses the pseudo-filename
> "-" for installing a crontab from stdin, while SUS defines taht
> crontab reads from stdin if no filename is specified.

crontab(5)?  I'll assume that should be crontab(1).

Those are not inconsistent, unless SUS specifies other behaviour for
the case of a bare -, or NetBSD's version doesn't read from stdin when
no (pseudo-)filename is given.

Personally, I think reading from stdin in the case of no filename is a
rather nasty UI design botch, as that makes it significantly easier to
accidentally destroy your crontab.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.