Scripting
Afternoon
The below script currently asks for 3 pieces of information then runs a command too create a majordomo list. Code:
#!/bin/bash |
you could just ask for the user to addtoolist in the script and avoid nano altogether?
See http://www.linuxquestions.org/questi...h-bash-806552/ for clues. :) |
There is no 'rest of script'. Anyways, it would be polite to use $EDITOR instead of forcing your personal favourite editor.
|
At about your second line of the script, add a line saying
Code:
set -xv |
All times are GMT -5. The time now is 06:04 AM. |