Configuration files (was: Standard compatibility)_(re)

Fri, 4 Apr 1997 20:40:22 +0100 (WET DST)


On Fri, 4 Apr 1997, Peter Gerwinski wrote:

> According to Jan-Jaap van der Heijden:
> >
> > [...]
> >
> 
> > 2) GPC doesn't have to be modified to implement the @file trick. This is
> > a DOS "feature" to overcome DOS commandline-length limitations.
> >
> > [...]
> 
> Yes, but this does not work on non-DOS platforms.

Hah! , how 'bout this:

        ------------- ~/.gpcrc -------------------

        --borland-pascal --automake

       ----------------- end ---------------------

              and:

       ------------- /usr/bin/bpc ----------------

       #! /bin/sh

       if [ -f ~/.gpcrc ] ; then CFG=`cat ~/.gpcrc` ; fi
       gpc $CFG $*

       ------------------ end ---------------------

The rest is up to your imagination.

Greetings,
     JanJaap

---
Thus spake the master programmer:
"After three days without programming, life becomes meaningless."
[The Tao Of Programming]


Jan-Jaap van der Heijden (janjaap@wit381304.student.utwente.nl)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es