🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #241162

Re:  S-Lang is more of a virtual machine than sed, I think.

#241162
From: 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) )
Technical Details
Message-ID: <Xns9D84A93555CA3chuck@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!aioe.org!news.tornevall.net!.POSTED!not-for-mail
References: <mo2mv59875sgq1jbjsppmp9igac4ipdtik@shared-secrets.com> <slrnhvnh3v.ceb.catwheezel@ID-107770.user.individual.net> <JeffRelf.F-M.FM.Kc@2010_May25.7.08am> <htgn35$pok$5@b.tioat.net> <JeffRelf.F-M.FM.5U@2010_May25.8.03am> <htgqsm$pok$7@b.tioat.net> <JeffRelf.F-M.FM.G9@2010_May25.9.19am> <Xns9D83CB6E09A0Bchuck@127.0.0.1> <lq80d7xufi.ln2@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9D84A93555CA3chuck@127.0.0.1>
Subject: Re:  S-Lang is more of a virtual machine than sed, I think.
Date: Wed, 26 May 2010 20:45:55 +0000
From: chuckcar <chuck@nil.car>
References: <mo2mv59875sgq1jbjsppmp9igac4ipdtik@shared-secrets.com> <slrnhvnh3v.ceb.catwheezel@ID-107770.user.individual.net> <JeffRelf.F-M.FM.Kc@2010_May25.7.08am> <htgn35$pok$5@b.tioat.net> <JeffRelf.F-M.FM.5U@2010_May25.8.03am> <htgqsm$pok$7@b.tioat.net> <JeffRelf.F-M.FM.G9@2010_May25.9.19am> <Xns9D83CB6E09A0Bchuck@127.0.0.1> <lq80d7xufi.ln2@news.ducksburg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!aioe.org!news.tornevall.net!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: TornevallNET - http://news.tornevall.net
Lines: 37
NNTP-Posting-Host: 4106db7c6e26e59c0fc18bd47ea91a2b
X-Trace: 19fba404dd54803915be378e856c93a7
X-Complaints-To: abuse@tornevall.net
User-Agent: Xnews/2006.08.24 Hamster/2.1.0.0
X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN,
 FRENCH, GERMAN OR ANY OTHER LANGUAGE!
X-Validate-Post: http://news.tornevall.net/validate.php?trace=19fba404dd54803915be378e856c93a7
X-SpeedUI: 1496
X-Complaints-Italiano: Non abbiamo padronanza della lingua italiana - se
 mandate una email scrivete solo in Inglese, grazie
X-Posting-User: f51557742abec9dc9e35ce7bfce67c2e