/[soft]/build_system/bcd/branches/3/compare_idx
ViewVC logotype

Contents of /build_system/bcd/branches/3/compare_idx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8667 - (show annotations) (download)
Sun Jul 28 12:40:37 2013 UTC (10 years, 8 months ago) by ennael
File size: 575 byte(s)
Mageia 3 branch

1 #!/bin/sh
2 # quiqk script to compare 32 and 64 IDX file
3 # usefull to compare dual CD and free32 and free64 dvd
4
5 TMPDIR=/tmp/compare_idx
6
7 if [ -z "$1" ]; then
8 echo "first arg must be a 32 IDX file"
9 exit 1
10 fi
11 if [ -z "$2" ]; then
12 echo "Second arg must be a 64 IDX file"
13 exit 1
14 fi
15
16
17 IDX32=$1
18 IDX64=$2
19
20 rm -rf $TMPDIR/*ok
21 mkdir -p $TMPDIR
22
23
24 cat $IDX32 | cut -d " " -f 2 | sed -e "s/i586//" | sort > $TMPDIR/IDX32_1_ok
25 cat $IDX64 | cut -d " " -f 2 | sed -e "s/x86_64//" | sed -e "s/\/lib64/\/lib/" | sort > $TMPDIR/IDX64_2_ok
26
27 diff -rau $TMPDIR/IDX32_1_ok $TMPDIR/IDX64_2_ok

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30