Commit 620c89d5b46ae71b173c08333fafc71c211e2d34

Authored by Shrikant Sharat
1 parent 00f42f9669

Remove use of the `-r` option to sed.

The `-r` is not present on BSD version of sed (which is used on OSX).

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -379,7 +379,7 @@ antigen () {
379 379 shift
380 380  
381 381 # Sanitize the spec
382   - spec="$(echo "$spec" | tr '\n' ' ' | sed -r 's/\s+//g')"
  382 + spec="$(echo "$spec" | tr '\n' ' ' | sed 's/[[:space:]]//g')"
383 383  
384 384 local code=''
385 385