Korn shell script Question
Dak Ghatikachalam
dghatikachalam at gmail.com
Wed Jan 31 19:27:26 UTC 2007
On 1/31/07, Kris Maglione <bsdaemon at comcast.net> wrote:
>
> On Wed, Jan 31, 2007 at 01:43:28PM -0500, Dak Ghatikachalam wrote:
> >I tried with several looping for some reason I dont seem to get in right
> in
> >Korn shell
> >
> >Any ideas on Ksh would be great, You can use any standard unix utilities
> to
> >achieve this.
>
> Something to this effect should suffice, though I'm not convinced
> there's not a simpler way.
>
> #!/usr/local/bin/ksh
>
> { while cat file1.txt; do false; done } |&
>
> cat file2.txt |
> while read file_b
> do
> read -p file_a
> echo $file_b $file_a
> done >file3.txt
> _______________________________________________
>
Hi Kris
Thanks a lot , I test ran it. This is great
Thanks
Dak
More information about the freebsd-questions
mailing list