Level 2 hints for clp --------------------- Note that in a pipeline that's valid for clp, standard input for the first command will be either [keyboard] or a file. Standard output for the last command will be either [screen] or file. In all other cases standard input and standard output will be [pipe]. Observe: % java clp a | b | c >x ---------------------------------------- Command line: a | b | c >x Command 1: a No arguments Standard input: [keyboard] Standard output: [pipe] Command 2: b No arguments Standard input: [pipe] Standard output: [pipe] Command 3: c Arguments: |>x| Standard input: [pipe] Standard output: [screen] Note that in the case of a command line with a single command, like "cat", "cat" is both the first and last command. See clp-hints-3 for the next level of hints.