* How to find the number of lines in tst file using DOS?
@ 2008-06-12 6:37 Vinoth Rajagopal
2008-06-12 6:47 ` Frank Cox
2008-06-12 13:47 ` Mike McCarty
0 siblings, 2 replies; 3+ messages in thread
From: Vinoth Rajagopal @ 2008-06-12 6:37 UTC (permalink / raw)
To: linux-msdos
Hi Everyone,
In batch code, is it possible to count the number of files from the text
file
For eg.,
Text file "Src.txt" contains the following text....
uuuuu
vvvvvv
xxxxxx
yyyyyy
zzzzzz
I need to find the number of lines available in "Src.Txt" and also i need to
print(echo) the 3rd line.
Is there any option to resolve this issue..., Please help me to resolve this
issue....,
Thank in Advance.
Ur,
Vinoth
--
View this message in context: http://www.nabble.com/How-to-find-the-number-of-lines-in-tst-file-using-DOS--tp17793459p17793459.html
Sent from the linux-msdos mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to find the number of lines in tst file using DOS?
2008-06-12 6:37 How to find the number of lines in tst file using DOS? Vinoth Rajagopal
@ 2008-06-12 6:47 ` Frank Cox
2008-06-12 13:47 ` Mike McCarty
1 sibling, 0 replies; 3+ messages in thread
From: Frank Cox @ 2008-06-12 6:47 UTC (permalink / raw)
To: Vinoth Rajagopal; +Cc: linux-msdos
On Wed, 11 Jun 2008 23:37:16 -0700 (PDT)
Vinoth Rajagopal <vinoth124@gmail.com> wrote:
> Is there any option to resolve this issue..., Please help me to resolve this
> issue....,
http://home.att.net/~short.stop/freesoft/unix.htm
--
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to find the number of lines in tst file using DOS?
2008-06-12 6:37 How to find the number of lines in tst file using DOS? Vinoth Rajagopal
2008-06-12 6:47 ` Frank Cox
@ 2008-06-12 13:47 ` Mike McCarty
1 sibling, 0 replies; 3+ messages in thread
From: Mike McCarty @ 2008-06-12 13:47 UTC (permalink / raw)
To: Vinoth Rajagopal; +Cc: linux-msdos
Vinoth Rajagopal wrote:
> Hi Everyone,
>
> In batch code, is it possible to count the number of files from the text
> file
>
> For eg.,
> Text file "Src.txt" contains the following text....
> uuuuu
> vvvvvv
> xxxxxx
> yyyyyy
> zzzzzz
>
> I need to find the number of lines available in "Src.Txt" and also i need to
> print(echo) the 3rd line.
>
> Is there any option to resolve this issue..., Please help me to resolve this
> issue....,
Supposing that you don't want to use the ports of GNU,
suggested in the other reply, you need to write a little
program in some other language. The MSDOS batch file
interpreter is really not up to this job.
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-12 13:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-12 6:37 How to find the number of lines in tst file using DOS? Vinoth Rajagopal
2008-06-12 6:47 ` Frank Cox
2008-06-12 13:47 ` Mike McCarty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox