Dear UUG members, According to the Unix philosophy<http://en.wikipedia.org/wiki/Unix_philosophy> ,
"Write programs that do one thing and do it well. > Write programs to work together. > Write programs to handle text streams, because that is a universal > interface." -Doug McIlroy <http://en.wikipedia.org/wiki/Douglas_McIlroy>, > the inventor of Unix pipes<http://en.wikipedia.org/wiki/Pipes_and_filters> > So... I wish to do the following: env|vim or alias|vim However, this fails, because vim expects a filename, not file contents on stdin. What is the best way to do what I want*?* Obviously, I could do the cumbersome: env > /tmp/env && vim /tmp/env alias > /tmp/alias && vim /tmp/alias But that seems too cumbersome. Thanks! James Carroll http://jcarroll.wordpress.com
-------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/mailman/listinfo/uug-list
