Run Piped External Commands using feather
    Task
    
Operating System / Run Piped External Commands
Opam Packages Used
- feather Tested with version: 0.3.0 — Used libraries: feather
Code 
  
  
  
    The |. operator from the Feather module can be used to pipe different commands.
let () =
  let sort_output =
    Feather.(echo "t\nz\nu\na\nb" |. process "sort" [""] |> collect stdout)
  in
  print_string sort_output