Skip to content
View msamendinger's full-sized avatar

Block or report msamendinger

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. sed slash madness sed slash madness
    1
    # what happens when we want to replace a string with a variable with a forward slash in its value?
    2
    $ var1="test/string"
    3
    $ echo "this is a test" | sed "s/test/$var1/"
    4
    sed: 1: "s/test/test/string/g": bad flag in substitute command: 's'
    5
    # set has delimiter confusion let's use another delimiter
  2. quotes quotes Public

    HTML

  3. TIL TIL Public

    Things I learned today, one file a day