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 and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
editing files with script Asteroid SUN Solaris 5 02-10-2009 11:20 AM
script to compare first column of two files and find difference adityam Shell Programming and Scripting 3 10-22-2008 10:02 AM
changing IP thru editing files bluridge SUN Solaris 2 02-27-2008 03:22 AM
Editing files sameersbn UNIX for Dummies Questions & Answers 2 01-19-2007 05:22 PM
editing unix files on NT pixelmonkey UNIX for Dummies Questions & Answers 1 02-01-2001 12:44 PM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 03-24-2009
JunZ JunZ is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 2
Script for editing column files

Hi,

I have been doing files editing (using "vi") to change the period (e.g. 0902 to 0903) for 100 files each week as shown in the example below. I would like to have a script to solve this manual files editing. Please advice.

Example:

Change from:

HDD|0200|VIA|+000000000598.490|0000018877799204|0902|000000|

to

HDD|0200|VIA|+000000000598.490|0000018877799204|0903|000000|

Thanks
 

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 08:22 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