The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Win32::OLE open excel file as read only dguy Shell Programming and Scripting 0 03-11-2008 05:32 PM
Open Sources, Open Notebook: Why Oracle Should Worry - InformationWeek iBot UNIX and Linux RSS News 0 07-20-2007 04:30 PM
Open Source Is Dead, Long Live Open Patents? - InformationWeek iBot UNIX and Linux RSS News 0 07-13-2007 11:00 AM
Problem with read & write EltonSky High Level Programming 11 08-31-2006 11:35 AM
How do u open a read only file in Unix? JosephGerard UNIX for Dummies Questions & Answers 1 07-21-2005 03:48 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-28-2002
Registered User
 

Join Date: May 2002
Location: Ohio
Posts: 2
Performing an open/read, open/write

I'm trying to do two different things (converting an OpenVms .com to a ksh shell script): 1) open/read/err= 2) open/write/err=

Any help? I've found some things, but can't seem to find the correct way.
Reply With Quote
Forum Sponsor
  #2  
Old 06-03-2002
thehoghunter
Guest
 

Posts: n/a
Suggest you use Perl or some other language instead of trying to use the shell for open/read/write of files -

1. It would make more sense to you.
2. It would make you a better admin.
3. It would be easier as suggested by the responses to your inquiry.

The shell is not as powerful as OpenVMS in some aspects but more powerful than it in others. Using redirection, piping, and other tools will become easy after awhile. The only thing I found that I really missed was the search command which allowed you to search and see lines of code/data above/below the line you searched for.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0