Hi all,
I have a requirement, where I need to do some calculations and based on the results I need to write a message to the user from a shell script.
Is it possible to `write' inside the script? Something like the below one..
#! /bin/ksh
write user12 << EOF
Hello World
<<EOF
For me, it produced an error.
wrt[6]: here document `EOF' unclosed
Any idea please?
Try this:
write user12 << EOF
Hello World
EOF
Silly mistake.. Isn't it?!
Thanks a lot Dennis.