Re: [JVM-B] FW: More Diffs
Status: Beta
Brought to you by:
ashley-y
From: Ashley Y. <as...@se...> - 2002-04-23 09:14:17
|
At 2002-04-23 02:07, Ashley Yakeley wrote: >Does this work in your "sh" shell? > > ghc -v 2>&1 | sed -n -e 's|^Using package config file: >\(.*/\)[^/]*$|\1| p' Should be all on one line. Or else this: #!/bin/sh ghc -v 2>&1 | sed -n -e 's|^Using package config file: \(.*/\)[^/]*$|\1| p' -- Ashley Yakeley, Seattle WA |