- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- EOF Script Help.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 10:15 AM
10-25-2002 10:15 AM
I am having trouble with this part of the script. Each of these commands would work fine seperately(inside EOF)
/opt/config.sh <
set enable=no
save
exit
EOF
when i execute the script it says in the eof line "<<" not expected and also "set" not expected Is there any problem with the space between set and enable. How do i handle this in EOF?Please advice.
Thanks
Ben
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 10:26 AM
10-25-2002 10:26 AM
Re: EOF Script Help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 10:27 AM
10-25-2002 10:27 AM
Re: EOF Script Help.
"Nevermind"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 10:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 10:50 AM
10-25-2002 10:50 AM
Re: EOF Script Help.
I'm fairly certain there is a way to indent those lines but I don't know it off the top of my head. Seems it was with changing IFS?
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 10:55 AM
10-25-2002 10:55 AM
Re: EOF Script Help.
If the form of the "here" document is:
<
then all leading *tabs* are stripped from word and from the document.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 10:59 AM
10-25-2002 10:59 AM
Re: EOF Script Help.
No points here, please.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 11:30 AM
10-25-2002 11:30 AM
Re: EOF Script Help.
What shell is this script using? What about /opt/config.sh?
Darrell