🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
15 messages
15 total messages Started by Unknown Tue, 25 May 2010 16:19
--
#241006
Author: Unknown
Date: Tue, 25 May 2010 16:19
13 lines
1917 bytes

slrn runs on S-Lang, not sed... my bad.
S-Lang is more of a “virtual machine” than sed, I think.

sed is a stream·editor/programming·language for textual transformations.
More at: http://en.wikipedia.org/wiki/Sed

S-Lang is A SOFTWARE LIBRARY ( Unix, Windows, VMS, OS/2, and Mac OS X )
for running S-Lang scripts ( for text-based applications ).
More at: http://en.wikipedia.org/wiki/S-Lang

slrn is a good newreader, I'm glad you ( Junior ) like it.
I use only one PC, I don't have to ssh anywhere.
--
#241018
Author: chuckcar
Date: Wed, 26 May 2010 02:11
17 lines
2077 bytes
JeffRelf.F-M.FM    @. wrote in
news:JeffRelf.F-M.FM.G9@2010_May25.9.19am: 

> 
> slrn runs on S-Lang, not sed... my bad.
> S-Lang is more of a “virtual machine” than sed, I think.
> 
> sed is a stream·editor/programming·language for textual
> transformations. More at: http://en.wikipedia.org/wiki/Sed
> 
LOL. It's a stream editor. The same as a text editor, but it doesn't use
user input, it's batch run. It has *no* programming capabilities
whatsoever. 


-- 
(setq (chuck nil)  car(chuck) )
Re:  S-Lang is more of a virtual machine than sed, I think.
#241017
Author: andrew
Date: Wed, 26 May 2010 02:47
11 lines
1722 bytes
On 2010-05-25, JeffRelf.F-M.FM    @. <JeffRelf.F-M.FM> wrote:

> slrn runs on S-Lang, not sed... my bad.
> S-Lang is more of a “virtual machine” than sed, I think.

All of this confusion would be eliminated if you tried Linux :). Really,
all the good guys use it....

Andrew
-- 
Do you think that's air you're breathing?
Re: S-Lang is more of a virtual machine than sed, I think.
#241022
Author: Ted S.
Date: Wed, 26 May 2010 12:47
17 lines
2166 bytes
On Wed, 26 May 2010 12:47:28 +1000, andrew wrote:

> All of this confusion would be eliminated if you tried Linux :).

Or if we all just killfiled Relf.  He might still be comfused, but we
wouldn't have to see it.  :-)

(I had to go edit my killfile *again*, to catch his ever-changing M-IDs
so that I can change scoring on the References header to kill replies to
him.  That dot character he insists on putting at the start of all his
Subject headers causes difficulties for Dialog.  And what does he have
against the common hyphen?)

-- 
Ted S.
fedya at hughes dot net
Now blogging at http://justacineast.blogspot.com
Re: S-Lang is more of a virtual machine than sed, I think.
#241021
Author: Wader of Doom
Date: Wed, 26 May 2010 13:31
25 lines
2926 bytes
Ted S. <fedya@hughes.spam> wrote:

> On Wed, 26 May 2010 12:47:28 +1000, andrew wrote:
> 
> > All of this confusion would be eliminated if you tried Linux :).
> 
> Or if we all just killfiled Relf.  He might still be comfused, but we
> wouldn't have to see it.  :-)
> 
> (I had to go edit my killfile *again*, to catch his ever-changing M-IDs
> so that I can change scoring on the References header to kill replies to
> him.  That dot character he insists on putting at the start of all his
> Subject headers causes difficulties for Dialog.  And what does he have
> against the common hyphen?)

Damn, Relf has just wet himself reading that, 
you'll never get rid of him now.

-- 
Darth Wader               <darth@notforspam.fsnet.co.uk>

Don't ask me 'bout the shape I'm in,
I can't sing, I ain't pretty and my legs are thin.
Don't ask me what I think of you,
I might not give the answer that you want me to.
Re:  S-Lang is more of a virtual machine than sed, I think.
#241024
Author: Adam Funk
Date: Wed, 26 May 2010 19:19
33 lines
2574 bytes
On 2010-05-26, chuckcar wrote:

> JeffRelf.F-M.FM    @. wrote in
> news:JeffRelf.F-M.FM.G9@2010_May25.9.19am: 
>
>> 
>> slrn runs on S-Lang, not sed... my bad.
>> S-Lang is more of a “virtual machine” than sed, I think.
>> 
>> sed is a stream·editor/programming·language for textual
>> transformations. More at: http://en.wikipedia.org/wiki/Sed
>> 
> LOL. It's a stream editor. The same as a text editor, but it doesn't use
> user input, it's batch run.

Aren't the sed commands based on the ed keybindings?  (Not that I've
used ed much, nor am I a sed expert, but that's what I've heard.)


> It has *no* programming capabilities
> whatsoever. 

Well, if you scroll down in that wikipedia article a bit, it says:

      Exotic examples
      Despite the inherent limitations, sed scripts exist for games as
      sokoban, arkanoid,[5] and an implementation of tetris.[6]

;-)

-- 
I heard that Hans Christian Andersen lifted the title for "The Little
Mermaid" off a Red Lobster Menu.                         [Bucky Katt]
Re:  S-Lang is more of a virtual machine than sed, I think.
#241162
Author: chuckcar
Date: Wed, 26 May 2010 20:45
37 lines
2878 bytes
Adam Funk <a24061@ducksburg.com> wrote in
news:lq80d7xufi.ln2@news.ducksburg.com: 


>>> 
>> LOL. It's a stream editor. The same as a text editor, but it doesn't
>> use user input, it's batch run.
> 
> Aren't the sed commands based on the ed keybindings?  (Not that I've
> used ed much, nor am I a sed expert, but that's what I've heard.)
> 
I've used neither recently. Midnight commander's may not be unix purism,
but it's far easier. I *have* written sed scripts quite a while back,
but found the program had a strange logic - if I could even call it
that. 

Try here:

http://www.linuxcommand.org/man_pages/sed1.html

It's a *bit* more accurate IMHO.
> 
>> It has *no* programming capabilities
>> whatsoever. 
> 
> Well, if you scroll down in that wikipedia article a bit, it says:
> 
>       Exotic examples
>       Despite the inherent limitations, sed scripts exist for games as
>       sokoban, arkanoid,[5] and an implementation of tetris.[6]
> 
There are a) no branching capabilities b) looping capabilities c)
conditionals. So *If* such was done, I would wager it didn't involve
*just* sed and one batch file. 

-- 
(setq (chuck nil)  car(chuck) )
Re: ? S-Lang is more of a virtual machine than sed, I think.
#241165
Author: W. Citoan
Date: Wed, 26 May 2010 21:37
26 lines
2554 bytes
chuckcar wrote:
>  Adam Funk <a24061@ducksburg.com> wrote in
>  news:lq80d7xufi.ln2@news.ducksburg.com: 
> > 
> > Well, if you scroll down in that wikipedia article a bit, it says:
> > 
> >       Exotic examples
> >       Despite the inherent limitations, sed scripts exist for games as
> >       sokoban, arkanoid,[5] and an implementation of tetris.[6]
> > 
>  There are a) no branching capabilities 

It does have branching as stated in the man page you referenced.

>  b) looping capabilities c) conditionals. So *If* such was done, I
>  would wager it didn't involve *just* sed and one batch file. 

I'll take that wager as you're wrong:
http://aurelio.net/sed/sokoban/sokoban.sed
http://aurelio.net/sed/programas/arkanoid/arkanoid.sed

- W. Citoan
-- 
A faithful friend is a strong defense: and he that hath found such an one
hath found a treasure.
-- Ecclesiasticus (Book of Sirach)
Re:  S-Lang is more of a virtual machine than sed, I think.
#241033
Author: TF
Date: Thu, 27 May 2010 07:38
24 lines
2193 bytes
["Followup-To:" header set to news.software.readers.]
On Wed May 26 2010 at 02:11:01 UTC, chuckcar <chuck@nil.car> wrote:
>  JeffRelf.F-M.FM    @. wrote in
>  news:JeffRelf.F-M.FM.G9@2010_May25.9.19am: 
> 
> > 
> > slrn runs on S-Lang, not sed... my bad.
> > S-Lang is more of a “virtual machine” than sed, I think.
> > 
> > sed is a stream·editor/programming·language for textual
> > transformations. More at: http://en.wikipedia.org/wiki/Sed
> > 
>  LOL. It's a stream editor. The same as a text editor, but it doesn't use
>  user input, it's batch run. 

And how is that different from, say, your favourite C compiler?

> It has *no* programming capabilities whatsoever. 

The wikipedia page cited about states "sed's language does not have
variables and has only primitive GOTO and branching functionality;
nevertheless, the language is Turing-complete."

What more can you ask for?
Re:  S-Lang is more of a virtual machine than sed, I think.
#241169
Author: TF
Date: Thu, 27 May 2010 07:45
28 lines
2368 bytes
On Thu May 27 2010 at 07:38:35 UTC, TF <rfnxh7ex@googlemail.com> wrote:
>  ["Followup-To:" header set to news.software.readers.]
>  On Wed May 26 2010 at 02:11:01 UTC, chuckcar <chuck@nil.car> wrote:
> >  JeffRelf.F-M.FM    @. wrote in
> >  news:JeffRelf.F-M.FM.G9@2010_May25.9.19am: 
> > 
> > > 
> > > slrn runs on S-Lang, not sed... my bad.
> > > S-Lang is more of a “virtual machine” than sed, I think.
> > > 
> > > sed is a stream·editor/programming·language for textual
> > > transformations. More at: http://en.wikipedia.org/wiki/Sed
> > > 
> >  LOL. It's a stream editor. The same as a text editor, but it doesn't use
> >  user input, it's batch run. 
> 
>  And how is that different from, say, your favourite C compiler?
> 
> > It has *no* programming capabilities whatsoever. 
> 
>  The wikipedia page cited about states "sed's language does not have

...cited ABOVE...

>  variables and has only primitive GOTO and branching functionality;
>  nevertheless, the language is Turing-complete."
> 
>  What more can you ask for?
Re:  S-Lang is more of a virtual machine than sed, I think.
#241181
Author: chuckcar
Date: Thu, 27 May 2010 19:19
38 lines
3276 bytes
TF <rfnxh7ex@googlemail.com> wrote in
news:slrnhvs8br.n2v.rfnxh7ex@ID-friedetzky.user.individual.net: 

> ["Followup-To:" header set to news.software.readers.]
> On Wed May 26 2010 at 02:11:01 UTC, chuckcar <chuck@nil.car> wrote:
>>  JeffRelf.F-M.FM    @. wrote in
>>  news:JeffRelf.F-M.FM.G9@2010_May25.9.19am: 
>> 
>> > 
>> > slrn runs on S-Lang, not sed... my bad.
>> > S-Lang is more of a “virtual machine” than sed, I think.
>> > 
>> > sed is a stream·editor/programming·language for textual
>> > transformations. More at: http://en.wikipedia.org/wiki/Sed
>> > 
>>  LOL. It's a stream editor. The same as a text editor, but it doesn't
>>  use user input, it's batch run. 
> 
> And how is that different from, say, your favourite C compiler?
> 
>> It has *no* programming capabilities whatsoever. 
> 
> The wikipedia page cited about states "sed's language does not have
> variables and has only primitive GOTO and branching functionality;
> nevertheless, the language is Turing-complete."
> 
> What more can you ask for?

A way to keep score maybe? A programming language without variables is
*not* a proper programming laguage - despite what someone may have said
as CS theory before he even had a proper computer. Namely Alan Turing. Who
died in 1954, before anything other than assembly language was used.

Turings theories and writings *are* still valuable in computer science,
but no in any practical simple programming language sense.

-- 
(setq (chuck nil)  car(chuck) )
Re: S-Lang is more of a virtual machine than sed, I think.
#241185
Author: Shmuel Metz
Date: Fri, 28 May 2010 12:25
25 lines
3239 bytes
In <Xns9D85933C4B706chuck@127.0.0.1>, on 05/27/2010
   at 07:19 PM, chuckcar <chuck@nil.car> said:

>A way to keep score maybe? A programming language without variables
>is *not* a proper programming laguage - despite what someone may have
>said as CS theory before he even had a proper computer. Namely Alan
>Turing. Who died in 1954, before anything other than assembly
>language was used.

Your history is off. Google for Gracie.

>Turings theories and writings *are* still valuable in computer
>science, but no in any practical simple programming language sense.

FSVO practical and FSVO simple; the people using functional languages
might disagree.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Re: S-Lang is more of a virtual machine than sed, I think.
#241189
Author: chuckcar
Date: Fri, 28 May 2010 23:29
29 lines
2844 bytes
Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote in
news:4bffb625$3$fuzhry+tra$mr2ice@news.patriot.net: 

> In <Xns9D85933C4B706chuck@127.0.0.1>, on 05/27/2010
>    at 07:19 PM, chuckcar <chuck@nil.car> said:
> 
>>A way to keep score maybe? A programming language without variables
>>is *not* a proper programming laguage - despite what someone may have
>>said as CS theory before he even had a proper computer. Namely Alan
>>Turing. Who died in 1954, before anything other than assembly
>>language was used.
> 
> Your history is off. Google for Gracie.
> 
Gracie Hopper programmed with relays and switches. Not even at assembler
level. 

>>Turings theories and writings *are* still valuable in computer
>>science, but not in any practical simple programming language sense.
> 
> FSVO practical and FSVO simple; the people using functional languages
> might disagree.
> 
Only people who have no idea what he said. Typo in above sentence
corrected. 


-- 
(setq (chuck nil)  car(chuck) )
Re: S-Lang is more of a virtual machine than sed, I think.
#241205
Author: Shmuel Metz
Date: Sun, 30 May 2010 17:50
20 lines
2969 bytes
In <Xns9D86C255C210chuck@127.0.0.1>, on 05/28/2010
   at 11:29 PM, chuckcar <chuck@nil.car> said:

>Gracie Hopper programmed with relays and switches.

TOTF,LMAO! Gracie did a lot of things, and many did not involve realys
or switches. Is COBOL a relay?

>Not even at assembler level. 

What are you smoking? What was FLOW-MATIC, chopped liver?

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Re:  S-Lang is more of a virtual machine than sed, I think.
#241206
Author: Adam Funk
Date: Sun, 30 May 2010 19:42
26 lines
2288 bytes
On 2010-05-26, chuckcar wrote:

> Adam Funk <a24061@ducksburg.com> wrote in
> news:lq80d7xufi.ln2@news.ducksburg.com: 
>
>
>>>> 
>>> LOL. It's a stream editor. The same as a text editor, but it doesn't
>>> use user input, it's batch run.
>> 
>> Aren't the sed commands based on the ed keybindings?  (Not that I've
>> used ed much, nor am I a sed expert, but that's what I've heard.)
>> 
> I've used neither recently. Midnight commander's may not be unix purism,
> but it's far easier. I *have* written sed scripts quite a while back,
> but found the program had a strange logic - if I could even call it
> that. 

I have to admit, I've never learnt sed or awk because perl (which does
both kinds of things, and more, although probably in ways that make
sed- and awk-enthusiasts cringe) was available when I reached the
point of needing things like this.


-- 
Bob just used 'canonical' in the canonical way.  [Guy Steele]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads