When I type 'sml' on the command line, I get a warning that "fgrep is obsolescent" before the Smlnj repl launches. It works fine, so this is simply cosmetic.
Transcript
$ sml
fgrep: warning: fgrep is obsolescent; using grep -F
Standard ML of New Jersey (64-bit) v110.99.4 [built: Tue Nov 14 10:09:53 2023]
Expected Behavior
$ sml
Standard ML of New Jersey (64-bit) v110.99.4 [built: Tue Nov 14 10:09:53 2023]
Steps to Reproduce
Just launch repl by typing 'sml'
Additional Information
It seems to arise from two uses of fgrep in bin/.run-sml, on lines 168 and 172. If I replace 'fgrep' with 'grep -F' on those two lines the warning goes away.
Version
110.99.4 (Latest)
Operating System
OS Version
Fedora 38
Processor
System Component
Command-line tool
Severity
Cosmetic
Description
When I type 'sml' on the command line, I get a warning that "fgrep is obsolescent" before the Smlnj repl launches. It works fine, so this is simply cosmetic.
Transcript
$ sml fgrep: warning: fgrep is obsolescent; using grep -F Standard ML of New Jersey (64-bit) v110.99.4 [built: Tue Nov 14 10:09:53 2023]
Expected Behavior
$ sml Standard ML of New Jersey (64-bit) v110.99.4 [built: Tue Nov 14 10:09:53 2023]
Steps to Reproduce
Just launch repl by typing 'sml'
Additional Information
It seems to arise from two uses of fgrep in bin/.run-sml, on lines 168 and 172. If I replace 'fgrep' with 'grep -F' on those two lines the warning goes away.
Email address
gztown2216@yahoo.com