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

Add shorter version with sed to pure league #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tomodachi
Copy link

there can be only one!

@@ -10,6 +10,7 @@ cat file.txt
awk 1 file.txt
paste file.txt
pv -q file.txt
sed '' file.txt
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was first proposed by @magisterquis in #23 (comment).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never thought to look for peoples comments only Pull requests for "duplicates" so first time i see i :)
Does that invalidate my contribution?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First to get it merged wins :)

@@ -21,6 +22,7 @@ sed '/*/p' file.txt
tail -n +1 file.txt
head -n -0 file.txt # GNU head
gcc -E -P -xc file.txt
less +G +Q -X file.txt
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dunno, doesn't look much like sed to me. :P

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure isn't but is pure league noh? or do you want a separate PR on this?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeap probably good

@tomodachi do a lunch this week?!

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

Successfully merging this pull request may close these issues.

3 participants