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
Stop+A equal tlee SUN Solaris 5 07-01-2008 07:42 AM
Edit/update an /etc/group database entry (c/c++) mekos UNIX and Linux Applications 1 06-02-2008 08:10 PM
add not equal in script. myguess21 Shell Programming and Scripting 2 02-26-2008 10:20 AM
Looking for equal to Visual Studio for Unix umen High Level Programming 9 10-16-2007 01:10 PM
equal command for gotoxy() in uinx g_s_r_c High Level Programming 5 12-25-2003 08:39 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 08-06-2008
kenshinhimura kenshinhimura is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 65
Edit entry if not equal

Ok here's the scenario, i have a ll.conf file and masterlist.

#cat ll.conf
123456
banner 1234
abcdefghi

#cat masterlist
abcdefghi
banner 123456789

what script to change ll.conf banner 123456789 from banner 1234 if they are not equal.
the final output will looks like this.

#cat ll.conf
123456
banner 123456789
abcdefghi
 

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:35 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