#1037008 bc: i cant quit if i want after syntax error

Package:
bc
Source:
bc
Description:
GNU bc arbitrary precision calculator language
Submitter:
Mr. T
Date:
2023-06-01 05:03:04 UTC
Severity:
normal
#1037008#5
Date:
2023-06-01 05:00:23 UTC
From:
To:
Dear Maintainer and Developers,

   * What led up to the situation?
i tried to define time from the math viewpoint
   * What exactly did you do (or not do) that was effective (or ineffective)?
$ bc -l
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
1d=24h
(standard_in) 1: syntax error
(standard_in) 1: syntax error
1h=60m
(standard_in) 2: syntax error
(standard_in) 2: syntax error
60*24
1440
60*24*60
86400
24*60*69
99360
24*60*60
86400
e^C
(interrupt) use quit to exit.
^C
(interrupt) use quit to exit.
quit
0
quit
$
   * What was the outcome of this action?
as you may see only the secound quit (tried ctrl+d alos before) worked

   * What outcome did you expect instead?
at least that i could exit after i was done with it. But i would also
expect that i could define variables and linear relations between them
using that syntax, please fix at least the quit problem but maybe also
give me a way to define variables and use them afterwards to maybe find
out how much minutes a week has or so...

thanks in advance and keep up the good work