The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 03-18-2009
rikxik's Avatar
rikxik rikxik is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 250
Quote:
Originally Posted by protocomm View Post
Hello,
ex: folder1: file1 file2 file3
folder2: file1 file2
print file3
Atleast on Solaris, you can do this:

Code:
$ dircmp -s folder1 folder2 |grep -v "^ *$" |grep -v Page
./file3