Exporting text to a file

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
azfar
Captain
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
Location: Karachi
Contact:

Exporting text to a file

Postby azfar » Fri Nov 11, 2005 1:26 pm

I have an perl script which read the data from a log file and print the summary on screen. I want to export the all summary information into a file. How can I do this.
Azfar Hashmi
Email : azfarhashmi@hotmail.com

azfar
Captain
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
Location: Karachi
Contact:

Postby azfar » Fri Nov 11, 2005 1:41 pm

Found the way use > to eport the text in a file
Azfar Hashmi

Email : azfarhashmi@hotmail.com

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Sat Nov 12, 2005 1:42 am

that doesn't export data, that redirects it.

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Sat Nov 12, 2005 11:22 pm

lambda wrote:that doesn't export data, that redirects it.


indeed
Farrukh Ahmed


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests