- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Scripting Question
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
12-28-2004 12:37 AM
12-28-2004 12:37 AM
Scripting Question
I am somewhat confused on the use ans when to use the following () [] {} "" '' ``
I know {} is used for funtions
I know [] is used for test command
is the any clear document or reference that will explain all thier different uses?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 01:25 AM
12-28-2004 01:25 AM
Re: Scripting Question
Hi !
Simply find a relevant section in the attachment!
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 02:00 AM
12-28-2004 02:00 AM
Re: Scripting Question
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 02:52 AM
12-28-2004 02:52 AM
Re: Scripting Question
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 03:14 AM
12-28-2004 03:14 AM
Re: Scripting Question
by Barry Rosenberg
published by Addison Wesley. ISBN 020156324X.
Also, ancient.
I use:
{} for command calls:
HOST=${ hostname }
but, also for arrays with variable dimensions:
integer array[3]=${array[2]}
pvcreate -f /dev/rdsk/${DISK[$I]}
etc. Likewise the other marks. So reading a book is still a good idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 03:20 AM
12-28-2004 03:20 AM
Re: Scripting Question
This one is for free.. :)
http://www.hk8.org/old_web/unix/ksh/index.htm
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 03:24 AM
12-28-2004 03:24 AM
Re: Scripting Question
Attached the doc file containing the table of meta characters and their meanings.
You can see the info in the following link also @ table1.5-1
http://sayle.net/book/basics.htm
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 03:25 AM
12-28-2004 03:25 AM
Re: Scripting Question
Attached the doc file containing the table of meta characters and their meanings.
You can see the info in the following link also @ table1.5-1
http://sayle.net/book/basics.htm
regards,
Syam