Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15233

Use grep/egrep consistently in all lectures, GEs, and Labs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • CL170 - RHOSO18.0-en-1-20241127
    • CL170
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      URL: All GEs and Labs from CL0001L through CL0010L
      Reporter RHNID: @gls-ftaylor
      Section Title: n/a (Various)                                                               

      This was first reported in PTL-14841 and was then moved to PTL-15214 as part of a combined course-wide bug report. It is now being moved to its own Jira issue here. 

      Example, `egrep -e "NAME|nova"` - First, I've seen this go back and forth from this to `grep -e NAME -e nova`.  I prefer the latter-use `-e NAME -e nova` because it is easier to understand as a beginner (otherwise you have to understand `egrep`, ``, and `|`).  Pick one method and mix all the ways we show it in the course. Second, there is no reason in this particular command to grep for NAME at all.  There is no header to look for, so remove the NAME part anyway.  Just `| grep nova`.

      TODO: Decide whether grep/egrep usage will be standardized throughout the course. Edit all occurrences according to whatever is decided upon.

      AFFECTED SECTIONS: Any lecture, GE, or Lab with a grep that is not in line with the agreed-upon standard usage. See search results at CL0002LCL0003LCL0005LCL0006LCL0007LCL0008LCL0010L

              rhn-gps-adandrea Ashley D’Andrea
              rhn-gps-adandrea Ashley D’Andrea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: