home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
mc454src.zip
/
mc-4.5.4.src
/
mc-4.5.4
/
lib
/
tdiff
< prev
next >
Wrap
Text File
|
1999-01-04
|
286b
|
23 lines
#!/bin/sh
#
# This scripts compares two terminfo files and prints out the differences.
#
sort_it ()
{
sed 's/^#.*//' $1 |
tr '\t' ' ' |
sed 's/ *//g' |
tr , '\012' |
tr -s '\012' |
sort > $1.$2
}
sort_it $1 f1
sort_it $2 f2
diff $1.f1 $2.f2
rm $1.f1 $2.f2