mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: kruoli
Forum: Programming 2021-10-04, 21:55
Replies: 41
Views: 3,875
Posted By kruoli
Basically, the specific problem was that the...

Basically, the specific problem was that the command line was ignored by YAFU in the script because of redirecting a file. The syntax was okay in all cases.
Forum: Programming 2021-10-04, 21:50
Replies: 41
Views: 3,875
Posted By kruoli
Wait, that's doing two fully different things! ...

Wait, that's doing two fully different things!

There is expr of GNU coreutils (as in $(expr 2 \* 2)) and there is the YAFU function expr (as in expr(2*2) or ./yafu "expr(2*2)").

Edit: Executing...
Forum: Programming 2021-10-04, 18:12
Replies: 41
Views: 3,875
Posted By kruoli
Ah! This definitely matches what I got from...

Ah! This definitely matches what I got from reading the code. Since you are reading from a file, isatty is 0. But since the file is read until the end, YAFU cannot extract any more lines, ignores the...
Forum: Programming 2021-10-04, 16:25
Replies: 41
Views: 3,875
Posted By kruoli
Have a look at line 855 of driver.c, it says if...

Have a look at line 855 of driver.c, it says if (isatty(fileno(stdin)) == 0) (in my current GIT checkout), and this is the only point where is_cmdline_run gets set to 2 and 2 is the only value which...
Showing results 1 to 4 of 4

 
All times are UTC. The time now is 07:47.


Thu Jun 30 07:47:29 UTC 2022 up 77 days, 5:48, 0 users, load averages: 1.41, 1.61, 1.56

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔