Re: Korn shell script Question
- From: Kris Maglione <bsdaemon@xxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 14:06:58 -0500
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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Korn shell script Question
- From: Dak Ghatikachalam
- Re: Korn shell script Question
- References:
- Korn shell script Question
- From: Dak Ghatikachalam
- Korn shell script Question
- Prev by Date: Re: 6.2 hangs probing floppy
- Next by Date: Re: Korn shell script Question
- Previous by thread: Korn shell script Question
- Next by thread: Re: Korn shell script Question
- Index(es):
Relevant Pages
|