I have two files that contains just file names.
The first files has the nfs mount points (ie. /mnt, /nfs1, etc.)
Second file has long file names (ie. /usr/bin/perl, /nfs1/file1, etc.)
I want the third file to contain only the non-nfs mounted files.
Example:
file1:
/mnt
/nfs1
/nfs2
file2:
/usr/bin/perl
/mnt/file1
/nfs1/file2
/etc/file3
/usr/bin/ls
/home/abc
/nfs2/file5
file3:
/usr/bin/perl
/etc/file3
/usr/bin/ls
/home/abc
Thanks in advance.
The first files has the nfs mount points (ie. /mnt, /nfs1, etc.)
Second file has long file names (ie. /usr/bin/perl, /nfs1/file1, etc.)
I want the third file to contain only the non-nfs mounted files.
Example:
file1:
/mnt
/nfs1
/nfs2
file2:
/usr/bin/perl
/mnt/file1
/nfs1/file2
/etc/file3
/usr/bin/ls
/home/abc
/nfs2/file5
file3:
/usr/bin/perl
/etc/file3
/usr/bin/ls
/home/abc
Thanks in advance.