~ubuntu-branches/ubuntu/trusty/ocamlnet/trusty

« back to all changes in this revision

Viewing changes to src/shell/shell_intro.txt

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu
  • Date: 2011-09-02 14:12:33 UTC
  • mfrom: (18.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110902141233-zbj0ygxb92u6gy4z
Tags: 3.4-1
* New upstream release
  - add a new NetcgiRequire directive to ease dependency management
    (Closes: #637147)
  - remove patches that were applied upstream:
    + Added-missing-shebang-lines-in-example-shell-scripts
    + Try-also-ocamlc-for-POSIX-threads

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
{[
33
33
let s = "d\na\nc\nb\n" in
34
34
let b = Buffer.create 20 in
35
 
call ~stdin:(from_string s) ~stdout:(to_buffer b) [ cmd "sort" ]
 
35
call ~stdin:(from_string s) ~stdout:(to_buffer b) [ cmd "sort" [] ]
36
36
]}
37
37
 
38
38
Here, "sort" reads the contents of s and writes the result to b.