- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Shell script help needed
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
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
06-18-2002 11:29 AM
06-18-2002 11:29 AM
Shell script help needed
What is the equivalent "new line" and "tab" entries for Linux since the backslash entries show explicitly under Linux?
In this sample below, all of my \n and \t's show up.
=========================
echo "\n\n"
echo "\t\tSelect the database that you would like to use:"
echo "\n"
echo "\t\t\t[1] Colorado Springs\n"
echo "\t\t\t[2] Tucson"
=========================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 12:23 PM
06-18-2002 12:23 PM
Re: Shell script help needed
echo -e "\n\n"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 05:59 AM
06-19-2002 05:59 AM
Re: Shell script help needed
Che'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 05:23 AM
08-29-2002 05:23 AM
Re: Shell script help needed
cat << !
Select the database that you would like to use:
[1] Colorado Springs
[2] Tucson
=========================
!
HTH,
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 11:31 AM
08-29-2002 11:31 AM
Re: Shell script help needed
#!/bin/csh
as the first line of the script. The 'c' shell interprets these characters correctly and you won't have to search for every instance of the echo command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2002 04:51 AM
08-30-2002 04:51 AM
Re: Shell script help needed
You can try to alias the echo command like:
alias echo="echo -e "
this runs fine in a linux bash.
This is my favorite solution to test foreign scripts.
Heiner