Skip to content

Get "fgrep is obsolescent" when run 'sml' on Fedora #286

@rgizz

Description

@rgizz

Version

110.99.4 (Latest)

Operating System

  • Any
  • Linux
  • macOS
  • Windows
  • Other Unix

OS Version

Fedora 38

Processor

  • Any
  • Arm (using Rosetta)
  • PowerPC
  • Sparc
  • x86 (32-bit)
  • x86-64 (64-bit)
  • Other

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfixed-in-110.99.5issues that will be fixed in the 110.99.5 versionlinux

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions