URL: https://linuxfr.org/forums/programmation-shell/posts/shell-dans-un-editeur--2 Title: shell dans un editeur Authors: spider10 Date: 2008年07月02日T13:50:27+02:00 Tags: Score: 0 Bonjour, je voudrais realise dans script shell test.sh qui contient vi mais quand j'execute il affiche une page vide voila mon script #!bin/bash vi /home/test/.procmailrc SHELL=/bin/sh PATH=/usr/bin DEFAULT=/home/essai/mail/ #repertoire pa defaut ou sont stockes les mails MAILDIR=/home/essai/ LOGFILE=$MAILDIR/.procmail.log INCLUDEDIR=/home/essai/.procmailrc MAILCOPY=/home/essai/copymail/ :0c: * ^From.*fai@hotmail.com $MAILCOPY :wq