The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-28-2009
yakari yakari is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 16
displaying stdout of a script using vi editor

Hi,
Is there a way to display the stdout of a script using vi editor without writing the stdout to a file.

I have a script (format.sh) which reads a file and displays it in a special format.
i want to see this displayed text using vi editor?

currently i am doing:
format.sh myfile> out.txt
vi out.txt

but can i do it in one shot without using a temporary out.txt file

thanks in advance...