Skip to main content.
Navigation:
DENX
>
Training2
>
UnixDesignPatternsSimple
Translations:
Edit
|
Attach
|
Raw
|
Ref-By
|
Printable
|
More
Training2
Sections of this site:
DENX Home
|
DULG
|
ELDK-5
|
Know
|
Training
|
U-Boot
|
U-Bootdoc
Topics
Training2 Home
Changes
Index
Search
Go
List of pages in Training2
Search
%SECTION0{name=UnixDesignPatternsSimple}% Simple Unix Interface Design Patterns (mostly from "The Art of Unix Programming", Eric S. Raymond) * Filter * maybe most fundamental Unix pattern * reads on =stdin=, emits to =stdout= * examples: tail(1), grep(1), tr(1) * beware of UUOCA * Source * no input, outputs on =stdout= * examples: ls(1), ps(1), uname(1), w(1) * Sink * consumes from =stdin=, but doesn't output * examples: lpr(1), mail(1), * Cantrip * no input, no output * just "does" something * examples: clear(1), touch(1) * Compiler * no =stdin= no =stdout= * takes one or two file args * convert file 1 one and writes to file 2 * examples: gcc(1), convert(1), gpg(1), gzip(1)
4.7.1. Unix Design Patterns
1. Denx Training Topics
4.7.3. Advanced Unix Interface Design Patterns
Prev
Home
Next