Skip to content

Conversation

@mdeltour
Copy link

Hyphen in [...] returns an error : "grep: Invalid range end"
In my opinion in this case, hyphen needs to be last or first.

@joncalhoun
Copy link
Owner

What OS are you on, or what is different that is causing this to not work for you but to work for me? Trying to figure out what, if any, notes I should add to the vids.

@mdeltour
Copy link
Author

I found this document that gives more information.
https://lists.gnu.org/archive/html/bug-coreutils/2015-02/msg00033.html

For your information:

Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial

@Surendrajat
Copy link

Facing same issue here

➜  module01 git:(master) ✗ go_test --run=TestSum -v
grep: Invalid range end

System info:

Distributor ID:	elementary
Description:	elementary OS 5.1 Hera
Release:	5.1
Codename:	hera

@joncalhoun
Copy link
Owner

I need to redo the video, or at least add a note to it, before I can commit this. I'm letting you know here so you are aware that I'm not ignoring this, but I don't want the code here to not match the videos.

@Surendrajat
Copy link

It is too trivial to spot in the video, and nobody's gonna type this long script off that video either. Everybody's gonna copy from README anyway so updating that should suffice, IMO.

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