Projet

Général

Profil

Actions

Cat

Synopsis

This operator has one parameter, one input and one output. The corresponding shell script executes the parameter as a command, considering the input as the standard input, and copies the result in the output.

Parameters

1 parameter, treated as the command to be executed.

Inputs

2 inputs, the input file and the parameter file for the command.

Outputs

1 output: the result of the command

Shell code

cmd=$1; shift
input1=$1; shift
input2=$1; shift
output=$1; shift

cat $input1 | $cmd $input2 > $output

Example

This operator is used for filtering the output result of rapidMiner with xalan in perturbation.aws.

Mis à jour par François Rioult il y a plus de 14 ans · 1 révisions