The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
convert to GB melanie_pfefer Shell Programming and Scripting 6 03-03-2008 01:05 PM
Help to convert XML to CSV rossingi_33 Shell Programming and Scripting 2 02-22-2008 07:18 AM
to convert int to hex naan High Level Programming 8 12-21-2007 02:13 PM
here-doc convert 2 script convert to single script? yongho Shell Programming and Scripting 2 07-07-2005 05:14 PM
To convert whatisthis UNIX for Dummies Questions & Answers 1 09-16-2004 04:48 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-10-2001
Boyd Young Boyd Young is offline
Registered User
  
 

Join Date: Jan 2001
Location: England
Posts: 1
Question

How difficult is it to convert from bourn shell to korn shell and visversa.
Reason: If someone bombsout or logs out incorrectly the application we are using give the next person to log in the same permissions as the person that bombed out. Therefore createing ownership problems on print files.

[Edited by Boyd Young on 01-10-2001 at 12:39 PM]
  #2 (permalink)  
Old 01-10-2001
98_1LE 98_1LE is offline Forum Advisor  
Registered User
  
 

Join Date: Dec 2000
Location: Greater Dallas area
Posts: 405
Depending on how proficient you are with shell scripting it's not real difficult. Some commands will not work and the syntax is different on others.

[Edited by Neo on 01-10-2001 at 11:47 AM]
  #3 (permalink)  
Old 01-10-2001
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,726
If you mean converting shell script between the two, this is not difficult. However, I can't recall anyone ever having free time to do such a thing. Once a shell script is written, it serves it purpose. Converting it to another scripting language (i.e KSH, SH, etc) it not something UNIX admins normally do.

Converting old SH and KSH scripts to PERL or PHP is a often worthwhile; but then again, there should be a compelling reason. If it is a homework problem, that is a different story. In class, we do a lot of seemingly meaningless exercises to learn by practice. This is not a homework board, BTW.

If you are asking about the differences learning the different shells on the command line, that depends on the features you prefer in a shell environment. I only use KSH, others use and love other shells. However, just because one loves KSH does not mean they spend time translating SH scripts to KSH.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0