I'm attempting to convert a bash idom into fish, and I can't quite figure out a clean way to do it. In bash, I sometimes used:
(cd /home/path/to/checkout ; svn diff checkout/path/file.c) | patch -p0 The closest I can come to this in fish is: begin pushd /home/path/to/checkout ; svn diff checkout/path/file.c; popd; end | patch -p0 Is there a better way? Thanks, Nick ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
