[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
debugger command 'eval'
From: |
Pascal Maugis |
Subject: |
debugger command 'eval' |
Date: |
Mon, 12 Sep 2022 11:39:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
Hi, dear gawk maintainers,
I extensively use gawk for my research and am sincerely grateful for the
great program you make us available here. These past years, I have been
enduring a bug in Debugger mode accross various versions of gawk.
Current versions are :
GNU Awk 4.1.4, API: 1.1 (GNU MPFR 3.1.1, GNU MP 6.1.2) : installed by
the networt administrator under CentOS Linux 7 (Core)
GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0) : downloaded with
app-get under Ubuntu 20.04.5 LTS
Program :
touch a.awk
gawk -D -f ./a.awk
eval "a()"
eval "print 1"
1) launch "gawk -D" on any file
2) induce whatever error with the eval command : gawk: ligne de
commande:1: fatal : function `a' not defined
3) the command 'eval' is then corrupted : gawk: ligne de commande:1:
error: nom de fonction « @eval » déjà défini
I 'hope' this happens also on your system, and thank you in advance for
solving that issue.
Cheers,
Pascal.
--
------------------------------------------------------------------------
*Pascal MAUGIS*
Modélisation hydrologique et changement climatique, PhD
LSCE
Laboratoire des Sciences du Climat et de l'Environnement
<http://www.lsce.ipsl.fr/>
Unité Mixte de Recherche CEA-CNRS-UVSQ (UMR 8212), IPSL, Paris-Saclay
Equipe MOSAIC : MOdelisation des SurfAces et Interfaces Continentales
Bât. 714, pièce 2115
C.E. Saclay, Orme des Merisiers, 91191 Gif-sur-Yvette Cedex, FRANCE
e-mail : pascal.maugis@lsce.ipsl.fr
Page perso : FR <http://www.lsce.ipsl.fr/Pisp/pascal.maugis/> - EN
<http://www.lsce.ipsl.fr/en/Phocea/Pisp/index.php?nom=pascal.maugis>
Tel./Fax : +33 1 69 08 75 24 / +33 1 69 08 77 16
------------------------------------------------------------------------
- debugger command 'eval',
Pascal Maugis <=