Ho un programma che emette su stdout e vorrei mettere a tacere quell'output in uno script Bash mentre esegui il piping su un file.
Ad esempio, l'esecuzione del programma produrrà:
% myprogram
% WELCOME TO MY PROGRAM
% Done.
Voglio che il seguente script non generi alcun output sul terminale:
#!/bin/bash
myprogram > sample.s
