Discussion:
For command line and batch file experts, and "no DOS sound" update.
(too old to reply)
thanatoid
2009-01-21 06:11:59 UTC
Permalink
Hi gang,

First, in case anyone cares, an update - I like giving
updates as a way of letting people who helped me whether
their efforts were for something or nothing.

You may recall some "can't get DOS sound" posts about 6 weeks
ago or so... I fucked around with about 25 Creative driver
and customization files, making a little progress but never
getting 100% success. In the end I said fuck it and wiped the
drive clean.

I now have DOS 100% sound running on my 14.5 yr old machine -
I had to do it the brutal way, wiping the drive, installing
DOS 6.21, adding partitions, and running the DOS setup for my
card. It was THAT easy - once there was no Windows or
anything else on the machine.

Now, getting some of the games to play is another matter...

Anyway, again, many thanks to those who helped.

+++

Now to the "probleme du jour".

I'd like to prune my newsrc file(s) since as you know, many
groups get 10 posts a year, if that. Others get 30,000 posts
a day, but those are easier to avoid and there's a /lot/ less
of them.

I have tried at least two dozen text processors including
Ultra Edit etc., and no one will do this, i.e. remove all
lines containing a string of numbers lower than, say, 200.

It could be done manually, by doing a search 200 times, and
deleting each line manually, but I don't think ANYONE could
live through THAT experience - certainly I could not.

It just occurred to me that if I replaced all the tabs
between group name and # of posts with a comma, I could
POSSIBLY somehow do this in a spreadsheet program, but I have
used a spreadsheet MAYBE three times in my life. Still, any
suggestions about that would be welcomed as well as an
alternative.

Still, if any of you are brilliant enough to think of a
command line or batch file which would take the following
(these are the first 25 groups my provider carries):

0 65
0.akita-inu 119
0.alaskan-malamute 46
0.alaskan-malamutes 46
0.siberian-huskys 55
0.test 3935
1.a 51
1.a.bovine 67
1.alaskan-malamute 30
1.beginners.sex 1116
1.binaries.pictures.erotica 17048
1.new-zealand.dogowners 23
1.siberian-huskys 34
1.test 1340
12hr 61
12hr.sex.abnormal 540
12hr.sex.normal 483
12hr.sex.oral 1543
1a.greenville.goal 27
1a.pacificcoastnet 2
1stone.archive 21
23hoursupport.helpdesk 5
24hoursupport.helpdesk 64204
388.talk 1
3b 88

and change it to

0.test 3935
1.beginners.sex 1116
1.binaries.pictures.erotica 17048
1.test 1340
12hr.sex.abnormal 540
12hr.sex.normal 483
12hr.sex.oral 1543
24hoursupport.helpdesk 64204

I would REALLY appreciate it.

Thanks,
t.
--
"We don't see things as they are, we see things as we are."
Anais Nin
Centre Parting
2009-01-21 16:17:46 UTC
Permalink
You are from 1992 and ICMFP !
Post by thanatoid
Hi gang,
First, in case anyone cares, an update - I like giving
updates as a way of letting people who helped me whether
their efforts were for something or nothing.
You may recall some "can't get DOS sound" posts about 6 weeks
ago or so... I fucked around with about 25 Creative driver
and customization files, making a little progress but never
getting 100% success. In the end I said fuck it and wiped the
drive clean.
I now have DOS 100% sound running on my 14.5 yr old machine -
I had to do it the brutal way, wiping the drive, installing
DOS 6.21, adding partitions, and running the DOS setup for my
card. It was THAT easy - once there was no Windows or
anything else on the machine.
Now, getting some of the games to play is another matter...
Anyway, again, many thanks to those who helped.
+++
Now to the "probleme du jour".
I'd like to prune my newsrc file(s) since as you know, many
groups get 10 posts a year, if that. Others get 30,000 posts
a day, but those are easier to avoid and there's a /lot/ less
of them.
I have tried at least two dozen text processors including
Ultra Edit etc., and no one will do this, i.e. remove all
lines containing a string of numbers lower than, say, 200.
It could be done manually, by doing a search 200 times, and
deleting each line manually, but I don't think ANYONE could
live through THAT experience - certainly I could not.
It just occurred to me that if I replaced all the tabs
between group name and # of posts with a comma, I could
POSSIBLY somehow do this in a spreadsheet program, but I have
used a spreadsheet MAYBE three times in my life. Still, any
suggestions about that would be welcomed as well as an
alternative.
Still, if any of you are brilliant enough to think of a
command line or batch file which would take the following
0 65
0.akita-inu 119
0.alaskan-malamute 46
0.alaskan-malamutes 46
0.siberian-huskys 55
0.test 3935
1.a 51
1.a.bovine 67
1.alaskan-malamute 30
1.beginners.sex 1116
1.binaries.pictures.erotica 17048
1.new-zealand.dogowners 23
1.siberian-huskys 34
1.test 1340
12hr 61
12hr.sex.abnormal 540
12hr.sex.normal 483
12hr.sex.oral 1543
1a.greenville.goal 27
1a.pacificcoastnet 2
1stone.archive 21
23hoursupport.helpdesk 5
24hoursupport.helpdesk 64204
388.talk 1
3b 88
and change it to
0.test 3935
1.beginners.sex 1116
1.binaries.pictures.erotica 17048
1.test 1340
12hr.sex.abnormal 540
12hr.sex.normal 483
12hr.sex.oral 1543
24hoursupport.helpdesk 64204
I would REALLY appreciate it.
Thanks,
t.
thanatoid
2009-01-21 18:42:12 UTC
Permalink
Post by Centre Parting
You are from 1992 and ICMFP !
I don't know what you mean, and I don't have £5 to give you.

Also, don't top post and learn to snip.

<SNIP>
--
"We don't see things as they are, we see things as we are."
Anais Nin
§ñühw€£f
2009-01-21 16:43:51 UTC
Permalink
X-Newsreader: slrn/0.9.8.1pl1 (Debian)
Message-ID: <***@centurytel.net>
Date: Wed, 21 Jan 2009 10:43:51 -0600
Lines: 29
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 98.125.82.231
X-Trace: sv3-kvyd4MO9gltoELKTkZNGZc5h/PGyGjFbFQL/rykEcms+JG9xKMzjx6A+prSmaVcN6SkzRqom8hZgx3i!lfBkUbJxEgGeZITSVq8ajDZ5ALhqyxc5cLVMKyvZdLDvCg3/uR+TUVj9g5Mww+NQL76dx/wuVbCc!5FuIiqqzA4mT/xpgiPigGjMWn5Yh94E2NgffSgMvrYU3mno=
X-Complaints-To: ***@centurytel.net
X-DMCA-Complaints-To: ***@centurytel.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39
Bytes: 2561
X-Original-Bytes: 2497
Xref: number1.nntp.dca.giganews.com 24hoursupport.helpdesk:1628375 microsoft.public.win98.performance:119559
Post by thanatoid
Now to the "probleme du jour".
I'd like to prune my newsrc file(s) since as you know, many
groups get 10 posts a year, if that. Others get 30,000 posts
a day, but those are easier to avoid and there's a /lot/ less
of them.
I have tried at least two dozen text processors including
Ultra Edit etc., and no one will do this, i.e. remove all
lines containing a string of numbers lower than, say, 200.
Try "WinVi" text editor.
It allows all sorts of advanced edits: hex, bin etc.
--
http://www.bds-palestine.net/?q=node/9
___ ___ ___ ___
/\__\ /\ \ /\ \ /\ \
/:/ _/_ \:\ \ \:\ \ \:\ \
/:/ /\ \ \:\ \ \:\ \ \:\ \
/:/ /::\ \ _____\:\ \ ___ \:\ \ ___ /::\ \
/:/_/:/\:\__\ /::::::::\__\ /\ \ \:\__\ /\ /:/\:\__\
\:\/:/ /:/ / \:\~~\~~\/__/ \:\ \ /:/ / \:\/:/ \/__/
\::/ /:/ / \:\ \ \:\ /:/ / \::/__/
\/_/:/ / \:\ \ \:\/:/ / \:\ \
/:/ / \:\__\ \::/ / \:\__\
thanatoid
2009-01-21 18:44:14 UTC
Permalink
���hw?�f <***@netscape.net> wrote in news:***@centurytel.net:

<SNIP>
Post by §ñühw€£f
Post by thanatoid
I have tried at least two dozen text processors including
Ultra Edit etc., and no one will do this, i.e. remove all
lines containing a string of numbers lower than, say, 200.
Try "WinVi" text editor.
It allows all sorts of advanced edits: hex, bin etc.
So do many others I have used, but I certainly don't mind
checking out another one. This not a bin or hex problem though.

It's only been half a day but I think it'll be spreadsheet time
for this one.
--
"We don't see things as they are, we see things as we are."
Anais Nin
chuckcar
2009-01-22 00:30:43 UTC
Permalink
Post by thanatoid
I would REALLY appreciate it.
sed - it's a available from GNU. Stands for stream editor.

instructions:

http://www.gnu.org/software/sed/manual/sed.html

You probably want djgpp to run it. (linux under dos really)

http://www.delorie.com/djgpp/
--
(setq (chuck nil) car(chuck) )
Loading...