LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2014, 10:49 AM   #16
jonnybinthemix
Member
 
Registered: May 2014
Location: Bristol, United Kingdom
Distribution: RHEL 5 & 6
Posts: 132

Original Poster
Rep: Reputation: Disabled

I have some progress...

After reading the entire man page for diff, I experimented using diff -b which ignores white space..

This does work better.. however I just need to experiment a bit more and try to get ride of the grep 'BAT_.*\.jpeg\.pgp' $FTPLIST > $RLS from displaying the actual ls command, because the ls command is ls -1 *.jpeg.pgp and therefore it includes that in the grep... and therefore finds the missing file but also finds the ls command as a difference also.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare file extension from two different txt file and find the differences. Neal000 Programming 6 08-28-2012 03:03 PM
[SOLVED] File Differences between libncurses and lib32ncurses cmnorton Ubuntu 1 10-01-2009 04:00 PM
File System Differences? pallbearer Linux - Newbie 2 03-12-2004 06:13 AM
differences between file systems nakkaya Linux - Hardware 1 03-13-2003 05:32 PM
Patch file name differences wsampson Linux From Scratch 1 11-24-2002 02:06 AM


All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration