Currently viewing the tag: "Ruby"
The task at hand is to write a wrapper script for /usr/bin/ld that drops arguments beginning with -Wl,-rpath, .
… Here ld-wrapper is expected to return its arguments separated by NUL characters so I can feed it to xargs , and from there to /usr/bin/ld . I’m sure there’s an easy, all-in-one way to do this with Haskell, I just haven’t reached that chapter yet.
… I wanted to do this with an “inverse grep” instead of select , but couldn’t find a way to grep for the opposite of a pattern.
