Forum: Shell Scripting Aug 29th, 2005 |
| Replies: 1 Views: 2,131 |
Forum: Shell Scripting Aug 29th, 2005 |
| Replies: 3 Views: 3,735 inside the if, you should be comparing $CHECKA and $CHECKB, not CHECKA and CHECKBKeep the space there. Also, try removing the ; and move 'then' to the next line. (not sure if this matters) |
Forum: Shell Scripting Jul 27th, 2005 |
| Replies: 2 Views: 5,580 it's typically (at least on solaris)
/usr/lib/sendmail -t < filename
(where filename is a file which at the very least as a To: line)
the -v option gives more verbose information... |
Forum: Shell Scripting Jul 27th, 2005 |
| Replies: 1 Views: 3,611 I came up with a workaround (which is to have it create a different script and then run that script). Let me know if there is a better way:
#!/usr/bin/ksh
if [ $# -lt 2 ]
then
echo... |
Forum: Shell Scripting Jul 27th, 2005 |
| Replies: 1 Views: 3,611 Here's what I'm trying to do... I want to connect to a command line application and send it instructions from inside a script. I need to do a loop as there are multiple things I want to do. I was... |