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
extracting domain names out of a text file totus Shell Programming and Scripting 6 02-11-2009 08:53 AM
Comparing file names to text document gman UNIX for Dummies Questions & Answers 1 01-27-2009 07:27 AM
Show column names when access a table using perl chriss_58 Shell Programming and Scripting 1 12-23-2008 04:26 PM
processing file names using text files ligander Shell Programming and Scripting 5 12-01-2008 06:32 PM
How to set dynamically keys names in perl %hash umen Shell Programming and Scripting 1 01-31-2006 09:22 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 07-16-2009
NDxiak NDxiak is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 17
Perl: Instering Names in to Text.

Hello my friends,

So I'm trying to insert some extra text in to text file/lines.

w• Test-LinesXtra: INS ABC 123456 123456
w• Test-LinesXtra: INS DEF 123456 123456
w• TestLinesXtra: 123456 123456
w• TestLinesXtra: 123456 123456

I would like to insert text in in place of "INS ABC" text will be static not changing
Each line will have different text to insert ...

Is there easy way to do it like ...

line 1; insert ABC after w• TestLinesXtra:
line 2; insert DEF after w• TestLinesXtra:

Beside I did small function in perl to find and replace .. it works but I can't replace bullets "•"

Last edited by NDxiak; 07-16-2009 at 07:16 PM..
 

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:55 AM.


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