9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] bc and < >
@ 2022-01-10 11:49 Benjamin Riefenstahl
  2022-01-10 12:14 ` Eckard Brauer
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Benjamin Riefenstahl @ 2022-01-10 11:49 UTC (permalink / raw)
  To: 9front

Hi all,

I'm trying to write a script in rc that needs to compare numbers.  It
seems that rc does not do math, so I try to use bc for that.  But I
encounter this:

  term% echo '1 < 2' | bc
  stdin:1 syntax error
  2

man bc says this should work, right?

Thanks, benny



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-01-14  4:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 11:49 [9front] bc and < > Benjamin Riefenstahl
2022-01-10 12:14 ` Eckard Brauer
2022-01-10 12:29   ` Benjamin Riefenstahl
2022-01-10 12:14 ` 有澤 健治
2022-01-10 13:25   ` Benjamin Riefenstahl
2022-01-10 12:23 ` Eckard Brauer
2022-01-10 13:24   ` Benjamin Riefenstahl
2022-01-10 14:00     ` Eckard Brauer
2022-01-11  6:29       ` cinap_lenrek
2022-01-12  8:00         ` Eckard Brauer
2022-01-12  9:13           ` Marc Chantreux
2022-01-13  5:22           ` umbraticus
2022-01-13 12:17             ` sirjofri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).