UNIX | Unix Linux Forums | Shell Programming and Scripting

  Go Back    

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


Shell Programming and Scripting

Closed Thread    
Thread Tools Search this Thread Display Modes
Old 06-25-2013
prawinmca prawinmca is offline
Registered User
Join Date: Jun 2013
Last Activity: 18 April 2014, 3:25 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts


I have two files and contains many Fields with | (pipe) delimitor, wanted to compare both the files and get only unmatched perticular fields. this i wanted to use in shell scriting.


111 |abc| 230| hbc
231 |bbb |210 |bbd
405 |ghc |555 |cgv


111 |abc |230 |hbc
231 |ccc |210 |bbd
405 |ghc |666 |cgv

Here the different data in two fileds(i.e ccc, 666), the thing is i want only those changed fields.

The same scipt will be used for many files in my project so the field changes are happens any filed in the second file, so please provide the scipt or command with accurate result.


Appreciate your Quick responce
Many thanks.

Last edited by radoulov; 06-25-2013 at 07:44 AM..
Sponsored Links
Old 06-25-2013
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Join Date: Jul 2006
Last Activity: 3 March 2015, 1:39 AM EST
Location: Berlin, Germany
Posts: 5,455
Thanks: 59
Thanked 236 Times in 229 Posts
Everyone at the UNIX and Linux Forums gives their best effort to reply to all questions in a timely manner. For this reason, posting questions with subjects like "Urgent!" or "Emergency" and demanding a fast reply are not permitted in the regular forums.

For members who want a higher visibility to their questions, we suggest you post in the Emergency UNIX and Linux Support Forum. This forum is given a higher priority than our regular forums.

Posting a new question in the Emergency UNIX and Linux Support Forum requires forum Bits. We monitor this forum to help people with emergencies, but we do not not guarantee response time or best answers. However, we will treat your post with a higher priority and give our best efforts to help you.

If you have posted a question in the regular forum with a subject "Urgent" "Emergency" or similar idea, we will, more-than-likely, close your thread and post this reply, redirecting you to the proper forum.

Of course, you can always post a descriptive subject text, remove words like "Urgent" etc. (from your subject and post) and post in the regular forums at any time.

Thank you.

The UNIX and Linux Forums
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
File Transfer from Window server to UNIX and UNIX to UNIX yadavricky Shell Programming and Scripting 4 06-25-2013 08:01 AM
How does unix system administration, unix programming, unix network programming differ? thulasidharan2k UNIX for Dummies Questions & Answers 0 06-09-2011 10:40 AM
Batch job in unix server to move the pdf file from unix to windows. ger199901 Shell Programming and Scripting 1 09-17-2010 03:08 AM
UNIX problem? Unix programm runs windows 2000 CPU over 100% zerocool UNIX for Dummies Questions & Answers 2 11-06-2001 05:25 AM

All times are GMT -4. The time now is 03:20 AM.