- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- csh - the simplest solution ??
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
08-30-2002 01:05 AM
08-30-2002 01:05 AM
csh - the simplest solution ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2002 09:40 PM
09-01-2002 09:40 PM
Re: csh - the simplest solution ??
what IS the stated problem ?
Why do you need to convert it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 01:54 AM
09-02-2002 01:54 AM
Re: csh - the simplest solution ??
The problem as stated is to have the ability to produce (albeit simply) formatted text output from a bash/bourne/korn shell script (difficult to tell since all use the echo command). I have clear memories of C shell using the pring command to effect the same end - moreover, C shell commands are different to Bourne shell based commands - hence the translation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 04:30 AM
09-02-2002 04:30 AM
Re: csh - the simplest solution ??
there is no way to "translate" to c-shell... But if you post your script we can perhaps help you here. UNIX- commands word the same in c- shell and other ones mostly, but if you need loops or something like that, you are right, there is a different syntax. So please post your script here if possible and we will try to help you.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 06:43 AM
09-03-2002 06:43 AM
Re: csh - the simplest solution ??
Why not use PERL? It's faster than csh, more powerful than ksh, and is easier to learn than either ksh or csh.
If the job calls for a hammer, use a hammer - not a screwdriver. Know what I mean?
IMHO,
-ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 12:22 PM
09-03-2002 12:22 PM
Re: csh - the simplest solution ??
right answer to a problem.
For a simple task, a ksh/sh-posix script
may be adequate. For more complex
tasks, you'll probably need to incorporate
some awk into the script or switch to all
awk. To do any kind of heavy lifting,
though, Perl is probably your best bet.
HTH