e38e9988a1
svn path=/nixpkgs/branches/stdenv-updates/; revision=19795
50 lines
852 B
Bash
50 lines
852 B
Bash
#!/bin/bash
|
|
|
|
for i in `cat /var/db/pkg/coreutils-*/+CONTENTS | grep "bin/g"`
|
|
do
|
|
name=`basename $i`
|
|
echo "alias ${name:1}='g${name:1}'"
|
|
done
|
|
|
|
echo
|
|
|
|
for i in `cat /var/db/pkg/diffutils-*/+CONTENTS | grep "bin/g"`
|
|
do
|
|
name=`basename $i`
|
|
echo "alias ${name:1}='g${name:1}'"
|
|
done
|
|
|
|
echo
|
|
|
|
for i in `cat /var/db/pkg/findutils-*/+CONTENTS | grep "bin/g"`
|
|
do
|
|
name=`basename $i`
|
|
echo "alias ${name:1}='g${name:1}'"
|
|
done
|
|
|
|
echo
|
|
|
|
for i in `cat /var/db/pkg/gmake-*/+CONTENTS | grep "bin/g"`
|
|
do
|
|
name=`basename $i`
|
|
echo "alias ${name:1}='g${name:1}'"
|
|
done
|
|
|
|
echo
|
|
|
|
for i in `cat /var/db/pkg/gsed-*/+CONTENTS | grep "bin/g"`
|
|
do
|
|
name=`basename $i`
|
|
echo "alias ${name:1}='g${name:1}'"
|
|
done
|
|
|
|
echo
|
|
|
|
for i in `cat /var/db/pkg/gtar-*/+CONTENTS | grep "bin/g"`
|
|
do
|
|
name=`basename $i`
|
|
echo "alias ${name:1}='g${name:1}'"
|
|
done
|
|
|
|
echo
|