Ceci est une adaptation dd'un script de Sun en KSH pour logger les commandes du shell... j ai essayƩ de l adapter pour ce csh de m3|d3. mais j sais pa spkoi ca fonctione pas du tout #!/bin/ksh # Quick Shell logging. # # Will log all input after run into the log /tmp/my.log # # Mike Roth, 2005 ### Remove the current log rm -f /tmp/my.log ### Log out all commands needed while true do read log?" [logging] # " echo "\nCommand: $log\n" >> /tmp/my.log exec $log | tee -a /tmp/my.log done ### Exit out exit 0 EN CSH: #!/bin/csh # Quick Shell logging. # # Will log all input after run into the log /tmp/my.log # # Mike Roth, 2005 ### Remove the current log rm -f /tmp/my.log ### Log out all commands needed set a = b while ( "$a" != "" ) do read log?" [logging] # " echo "\nCommand: $log\n" >> /tmp/my.log exec $log | tee -a /tmp/my.log done ### Exit out exit 0