![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| redirection | DNAx86 | Shell Programming and Scripting | 9 | 04-18-2008 02:24 PM |
| sed redirection | myle | UNIX for Dummies Questions & Answers | 3 | 03-12-2008 07:04 PM |
| Complex Pipeline/Redirection/Regular Expression problem | netmaster | UNIX for Dummies Questions & Answers | 1 | 11-29-2005 12:55 AM |
| Redirection Problem | vibhor_agarwali | UNIX for Dummies Questions & Answers | 7 | 07-14-2005 06:01 AM |
| facing a problem in redirection | vivekshankar | UNIX for Dummies Questions & Answers | 4 | 05-23-2005 12:24 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
redirection problem
Hello Experts,
I am facing the following problem .. Code:
>cat my_file initial begin StartSim; LDR(on); // Lock Detect Enable But when I trying the same with the following command it shows me all the line in the same line.Like Code:
>echo `cat my_file` Is there any way around to print it as in my input file .. to the output file. Thanks in advance.. Last edited by user_prady; 12-10-2007 at 02:46 AM.. |
|
||||
|
Quote:
I want to do some thing like this Code:
#! /bin/sh for temp in `find ./CSV/ -name "*.file"` do fname=`basename $temp` echo "Line 1 " > ./out/$fname echo "Line 2 " >> ./out/$fname ........ echo "Line 100" >> ./out/$fname ./transform.sh $temp >> ./out/$fname done like echo `cat morelines` Thanks in advance . If any other method to do it better most appriciated.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|