I'm (now) using: g++ mycode.cpp 2> x less x
On Tue, May 21, 2013 at 5:31 PM, SanskritFritz <sanskritfr...@gmail.com> wrote: > On Tue, May 21, 2013 at 11:17 PM, John Chludzinski > <john.chludzin...@gmail.com> wrote: >> I tried: >> >> g++ mycode.cpp 2>| less >> >> and >> >> g++ mycode.cpp ^| less >> >> Both failed? >> >> Using Korn/BASH I would have used: >> >> g++ mycode.cpp 2>&1 | less > > Fish help says > To redirect both standard output and standard error to the file > all_output.txt, you can write echo Hello >all_output.txt ^&1 ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users