Re: Awk scripts & Debian awk version
I believe you only need to install the gawk package (from the
/interpreters section) to get what you want. You will have to repair any
explicit references to awk (changing them to gawk), but that should be
enough to make the scripts work. I got bit by mawk myself.
Also, I believe that mawk/gawk use update alternatives, with the
priorities set to prefer mawk over gawk. You can change this preference by
changing the symlink (see the docs on update-alternatives). This could
allow you to avoid any changes to your scripts.
Luck,
On Sat, 13 Mar 1999, Wayne Topa wrote:
>
> I have some small scripts that keep a log file of notes. The
> searchlog feature uses awk. Now that I have decided to move my
> operating from the Slackware box that the scripts work in to debian,
> the scripts no longer work.
>
> Doing some research I found that the boxes have different versions
> of awk/mawk.
>
> The slackware system: awk -W version GNU Awk 3.0.3
> and debiam Slink awk -W version mawk 1.3.3 Nov 1996.
>
> Questions.
> Rather than load up the newer awk from the tarball at the
> GNU site, are there, or will there be, an updated awk in the base
> package of potato?
>
> Would moving to the GNU awk affect any debian specific items?
> Namely deselect, apt-get, dpkg?
>
> Should I just bite the bullet, bone up on awk, and fix the damm
> scripts? Yes I know, I _should_ know awk.
>
> Which is the newer/better/most compatiable Awk?
>
>
> Thanks in advance.
>
>
> Wayne
>
> --
> Unquestionably, there is progress. The average American now pays out
> twice as much in taxes as he formerly got in wages.
> -- H. L. Mencken
> _______________________________________________________
> Wayne T. Topa <wtopa@ix.netcom.com>
>
>
> --
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
>
Dwarf
--
_-_-_-_-_- Author of "The Debian Linux User's Guide" _-_-_-_-_-_-
aka Dale Scheetz Phone: 1 (850) 656-9769
Flexible Software 11000 McCrackin Road
e-mail: dwarf@polaris.net Tallahassee, FL 32308
_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-
Reply to: