Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* When running an ed script the exit code is important * If any command in the script fails, edWarn() will be called and $Error will be set; this should translate to a failure exit code * Tested against GNU version #test1: q command after invalid address error 470 *H *100p ? invalid address *10p /* this? */ *q %echo $? 1 #test2: wq command after invalid address error 470 *H *100p ? invalid address *1,2wq new.txt 39 %echo $? 1
- Loading branch information