Computing.Net > Forums > Unix > redirection question >

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

redirection question >

Reply to Message Icon

Name: vande
Date: April 8, 2008 at 10:21:36 Pacific
OS: Windows xp, Windows
CPU/Ram: 2.4 quad core Intel
Product: Dell, Dell, Dell
Comment:

Ok so when you redirect a file using > or append to it using >> Is there a way you can format the text as it creates or gets put into a document?

Learning in progress..........



Sponsored Link
Ads by Google

Response Number 1
Name: James Boothe
Date: April 8, 2008 at 11:42:21 Pacific
Reply:

If you have a command or script that produces output, rather than redirect that output directly to a file such as:

some_command > myfile

you could pipe it first to something like awk:

some_command | awk 'awk commands' > myfile


0

Response Number 2
Name: vande
Date: April 8, 2008 at 12:47:22 Pacific
Reply:

THANK YOU :)

Learning in progress..........


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: redirection question >

Script question.... www.computing.net/answers/unix/script-question/7518.html

pblem redirection under AIX/NFS www.computing.net/answers/unix/pblem-redirection-under-aixnfs/6039.html

A question about Unix and Linux www.computing.net/answers/unix/a-question-about-unix-and-linux/3264.html