Projet

Général

Profil

Actions

Eval211

Synopsis

This operator has two parameters, one input and one output. The corresponding shell script executes the parameters as a command on the input, and copies the result to the output.

Parameters

2 parameters, treated as the command to be executed.

Inputs

1 input file.

Outputs

1 output: the result of the command.

Shell Code

cmd=$1; shift
args=$1; shift
input=$1; shift
output=$1; shift

$cmd "$args" $input > $output

Example

This operator is used for applying a command with parameters, for example in CMAR.aws for filtering the pattern mining result with sed -n 's/_//pg'.

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