This is a straightforward single input, single output program for
capsicum.
Details
Details
- Reviewers
 emaste allanjude bapt ache - Commits
 - rS305982: tr(1): Capsicumify
 
- tr abc ddd (tty input)
 - echo abcdef | tr abc ddd
 - echo abcdef | LANG=ko_KR.UTF-8 tr "[:lower:]" "[:upper:]"
 
Diff Detail
Diff Detail
- Repository
 - rS FreeBSD src repository - subversion
 - Lint
 Lint Passed - Unit
 No Test Coverage - Build Status
 Buildable 5215 Build 5354: CI src build Jenkins Build 5353: arc lint + arc unit 
Event Timeline
Comment Actions
What about stderr?
for stdin you probably want to check EBADF because STDIN can be closed
Comment Actions
Sure.
for stdin you probably want to check EBADF because STDIN can be closed
I guess it *can* be closed. But that's kind of a silly thing for someone to do before executing tr. Do we care?