Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[issue]: egrep: warning: egrep is obsolescent; using grep -E #2083

Closed
1 task done
kojq opened this issue Dec 21, 2022 · 4 comments
Closed
1 task done

[issue]: egrep: warning: egrep is obsolescent; using grep -E #2083

kojq opened this issue Dec 21, 2022 · 4 comments

Comments

@kojq
Copy link

kojq commented Dec 21, 2022

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

1.0.85

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

No. I didn't try these alternative boot modes.

BIOS Mode

Both

Partition Style

GPT

Disk Capacity

0 GB

Disk Manufacturer

No response

Image file checksum (if applicable)

None

Image file download link (if applicable)

No response

What happened?

Type ventoy into Linux CLI and the first output is:
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E

This begins from GNU Grep 3.8 with part of documentation stating: egrep and fgrep were not standardized by POSIX and are no longer needed. In the current GNU implementation, egrep and fgrep issue a warning and then act like their modern counterparts; eventually, they are planned to be removed entirely.

ventoy added a commit that referenced this issue Dec 21, 2022
@ventoy
Copy link
Owner

ventoy commented Dec 21, 2022

@kojq
Copy link
Author

kojq commented Dec 21, 2022

The fix for the warnings look good, however, some other parts of the code use this.

SQUASHFS/squashfs-tools-4.4/squashfs-tools/build.sh
GRUB2/MOD_SRC/grub-2.04/install.sh
IMG/cpio/sbin/init
FUSEISO/build.sh
IMG/cpio/ventoy/hook/debian/porteus-path.sh
Ventoy/IMG/cpio/ventoy/loop/cloudready/ventoy-hook.sh
IMG/cpio/ventoy/loop/fydeos/ventoy-hook.sh
ExFAT/buidexfat.sh
IMG/cpio/ventoy/hook/tinycore/ventoy-disk.sh
IMG/cpio/ventoy/loop/openwrt/ventoy-disk.sh
LiveCD/VTOY/ventoy/ventoy.sh

There are also references with BusyBox. I suppose none of this matters due to your build environment?

@ventoy
Copy link
Owner

ventoy commented Dec 21, 2022

These scripts are not for users and will not run in your system. So it doesn't matter.

@kojq
Copy link
Author

kojq commented Dec 21, 2022

We can close this 👍 .

@ventoy ventoy closed this as completed Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants