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 > 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 and shell scripting languages 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 08:32 PM
Open Sources, Open Notebook: Why Oracle Should Worry - InformationWeek iBot UNIX and Linux RSS News 0 07-20-2007 07:30 PM
Open Source Is Dead, Long Live Open Patents? - InformationWeek iBot UNIX and Linux RSS News 0 07-13-2007 02:00 PM
Problem with read & write EltonSky High Level Programming 11 08-31-2006 02:35 PM
How do u open a read only file in Unix? JosephGerard UNIX for Dummies Questions & Answers 1 07-21-2005 06: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 05-28-2002
prosserj prosserj is offline
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.
  #2 (permalink)  
Old 06-03-2002
thehoghunter
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
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.
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 12:03 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