- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help needed to convert batch scripts to korn s...
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
Discussions
Discussions
Forums
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
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
тАО11-13-2006 04:51 PM
тАО11-13-2006 04:51 PM
Hello Team,
I have some batch scripts which need to be converted into korn shell scripts, can anyone assist me converting these scripts to korn shell.
I have attached couple of scritps.
Thanks Heaps.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2006 05:48 PM
тАО11-13-2006 05:48 PM
Re: Help needed to convert batch scripts to korn shell scripts
I think you just need a guy with script knowledge here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2006 07:13 PM
тАО11-13-2006 07:13 PM
SolutionI don't think there is a automatic conversion process, so it is down to re-writing the batch files manually.
Some data that should help you:
http://tldp.org/LDP/abs/html/dosbatch.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2006 09:37 PM
тАО11-13-2006 09:37 PM
Re: Help needed to convert batch scripts to korn shell scripts
just to get you started ;-)
The code is NOT tested and needs finishing (DOS to UNIX paths)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2006 10:25 PM
тАО11-13-2006 10:25 PM
Re: Help needed to convert batch scripts to korn shell scripts
Thanks a lot Peter I really appreciate your help,
Thats what exactly I needed. I needed help to start from somewhere, I can now modify and test the script.
I might ask you for a similar help to code few more scripts for me and I will then modify and accordingly.
Thanks again for your prompt help. I have assigned points.
Raf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2006 10:36 PM
тАО11-13-2006 10:36 PM
Re: Help needed to convert batch scripts to korn shell scripts
thanks for the points, however... I only started the translation for you to get the basics. I am happy to help posters with problems, but I believe the forums are not 'coding shops'.
The best way to learn is to do, that's why I supplied the link and helped with the first conversion.
I am sure you have better long-term success with your project, if you first attempt the conversion and then log a summary question if you hit problems.