Unix/Linux Go Back    

Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.


Shell Programming and Scripting

Thread Tools Search this Thread Display Modes
Old Unix and Linux 06-25-2013   -   Original Discussion by prawinmca
prawinmca prawinmca is offline
Registered User
Join Date: Jun 2013
Last Activity: 14 June 2016, 9:50 AM EDT
Posts: 8
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 Unix and Linux 06-25-2013   -   Original Discussion by prawinmca
DukeNuke2's Unix or Linux Image
DukeNuke2 DukeNuke2 is offline Forum Staff  
Join Date: Jul 2006
Last Activity: 19 November 2017, 6:12 PM EST
Location: Berlin, Germany
Posts: 5,700
Thanks: 73
Thanked 302 Times in 288 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 05:28 AM.