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

Implement cat #10

Open
4 of 9 tasks
GrayJack opened this issue Sep 27, 2019 · 5 comments
Open
4 of 9 tasks

Implement cat #10

GrayJack opened this issue Sep 27, 2019 · 5 comments
Assignees
Labels
A-tool Area: Binary tool C-tracking-issue Category: A tracking issue for an feature. E-easy Call for participation: Experience needed to fix: Easy / not much Hacktoberfest Hacktoberfest

Comments

@GrayJack
Copy link
Owner

GrayJack commented Sep 27, 2019

This is a tracking issue for the cat utility.

Required options and flags in the POSIX standard:

  • u (long: ¹)

Required extension options and flags:

  • b (long: number-nonblank)
  • e (long: ²)
  • E (long: show-ends)
  • n (long: number)
  • s (long: squeeze_blank)
  • T (long: show-tabs)
  • t (long: ²)
  • v (long: show-nonprinting)

Notes:
¹ : Long name not defined on other implementation of this utility. Implementer must choose a long name.
² : Short name (one letter) not defined on other implementation of this utility. Implementer must choose. a short name

References

POSIX standard text
FreeBSD Manual
NetBSD Manual
OpenBSD Manual
DragonFlyBSD Manual

Unresolved questions:

All extension options/flags required are only there because most implementations also do. But there is just another two extensions left for all major versions of the utility, -A, -B and -f. Should those last three be implemented as well?

History

-n, -b, -E and -s implemented by #106

@GrayJack GrayJack added the Hacktoberfest Hacktoberfest label Sep 27, 2019
@EduRenesto
Copy link
Collaborator

I'll do this one!

@EduRenesto EduRenesto self-assigned this Sep 27, 2019
@argentite
Copy link
Contributor

I want to work on this. Is supporting -b -n and -s enough?

@GrayJack
Copy link
Owner Author

@EduRenesto Are you still working on this?

@GrayJack
Copy link
Owner Author

GrayJack commented Oct 26, 2019

I want to work on this. Is supporting -b -n and -s enough?

I require a minimum set of of flags that are common in major versions of coreutils (Linux, FreeBSD, NetBSD, OpenBSD, DragonflyBSD, Illumos/Solaris)* to consider the tool to be considered Done, but if needed, it can be made in several pull requests.

* If 3~4 of the 6 implements a feature, it is a requirement to be the considered Done

@GrayJack
Copy link
Owner Author

@argentite
Seems like @EduRenesto doesn't want to continue, would like to continue where he stopped? Maybe implementing what he did not

@GrayJack GrayJack added A-tool Area: Binary tool C-tracking-issue Category: A tracking issue for an feature. E-easy Call for participation: Experience needed to fix: Easy / not much labels Dec 28, 2020
@GrayJack GrayJack self-assigned this Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tool Area: Binary tool C-tracking-issue Category: A tracking issue for an feature. E-easy Call for participation: Experience needed to fix: Easy / not much Hacktoberfest Hacktoberfest
Projects
None yet
Development

No branches or pull requests

3 participants