Hi,
wanted to learn shell using sed and awk as in the O'Reilly book.
I am working on scripts in Common Lisp using shell inside,
here's the link to the code, it's GPL2 :
http://sf.net/projects/lisp-scripts
On 2025-02-09, zara <johan@freecol.be> wrote:[...]
I am working on scripts in Common Lisp using shell inside,
here's the link to the code, it's GPL2 :
http://sf.net/projects/lisp-scripts
In 2025, nobody is going to download and unpack tarballs you posted to sourceforge to look at your code.
You might as well scratch it on the wall of your cave with a piece of charcoal, and invite people to peruse it by the light of a torch.
Kaz Kylheku <643-408-1753@kylheku.com> writes:
On 2025-02-09, zara <johan@freecol.be> wrote:[...]
I am working on scripts in Common Lisp using shell inside,
here's the link to the code, it's GPL2 :
http://sf.net/projects/lisp-scripts
In 2025, nobody is going to download and unpack tarballs you posted to
sourceforge to look at your code.
You might as well scratch it on the wall of your cave with a piece of
charcoal, and invite people to peruse it by the light of a torch.
Consider putting your code on GitHub instead.
So that it's harder to read or download without git or specific
browsers, or even without JavaScript; or has SourceForge reached that
level of unusability now too?
I mean, while I could understand SourceForge being not recommended for
some reasons (which ones?), it strikes me as unlikely that GitHub is a
good option, given how they've been progressively rendering it unusable
on the web (three years ago or so it was different in this regard), and
I guess/hope that, for the git part, there would be other alternatives
there, or there really are none?
I mean, while I could understand SourceForge being not recommended for
some reasons (which ones?), it strikes me as unlikely that GitHub is a
good option, given how they've been progressively rendering it unusable
on the web (three years ago or so it was different in this regard), and
I guess/hope that, for the git part, there would be other alternatives
there, or there really are none?
Hi,
wanted to learn shell using sed and awk as in the O'Reilly book.
I am working on scripts in Common Lisp using shell inside,
here's the link to the code, it's GPL2 :
http://sf.net/projects/lisp-scripts
Kaz Kylheku <643-408-1753@kylheku.com> writes:
On 2025-02-09, zara <johan@freecol.be> wrote:[...]
I am working on scripts in Common Lisp using shell inside,
here's the link to the code, it's GPL2 :
http://sf.net/projects/lisp-scripts
In 2025, nobody is going to download and unpack tarballs you posted to
sourceforge to look at your code.
You might as well scratch it on the wall of your cave with a piece of
charcoal, and invite people to peruse it by the light of a torch.
Consider putting your code on GitHub instead.
In 2025, nobody is going to download and unpack tarballs youposted to sourceforge to look at your code.
... to Perl.
... something any programmer could readily understand.
Now I'd use Python.
In article <voajsf$nd2k$1@dont-email.me>,
Dan Espen <dan1espen@gmail.com> wrote:
...
... to Perl.
... something any programmer could readily understand.
I'm sure opinions will vary on that.
Now I'd use Python.
Gotta keep up with the fashion world, doncha?
gazelle@shell.xmission.com (Kenny McCormack) writes:
In article <voajsf$nd2k$1@dont-email.me>,
Dan Espen <dan1espen@gmail.com> wrote:
...
... to Perl.
... something any programmer could readily understand.
I'm sure opinions will vary on that.
They guy that wrote the sed/awk stuff agreed.
Now I'd use Python.
Gotta keep up with the fashion world, doncha?
Oh, I'm hurt.
On 09.02.2025 18:21, Dan Espen wrote:
gazelle@shell.xmission.com (Kenny McCormack) writes:
In article <voajsf$nd2k$1@dont-email.me>,
Dan Espen <dan1espen@gmail.com> wrote:
...
... to Perl.
... something any programmer could readily understand.
I'm sure opinions will vary on that.
They guy that wrote the sed/awk stuff agreed.
Curious; do you mean the authors of those languages or the
authors (pl.) of that unspecific mentioned "sed & awk" book?
Given clarity/cryptically of syntax (and their semantics)
these three languages (Awk, Perl, Sed) for sure vary a lot!
I once spent a week converting a LOT of sed/awk to Perl. I turned a complicated mess into something any programmer could readily understand.
(And actually worked.)
Now I'd use Python.
So that it's harder to read or download without git or specific
browsers ...
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
On 09.02.2025 18:21, Dan Espen wrote:
gazelle@shell.xmission.com (Kenny McCormack) writes:
In article <voajsf$nd2k$1@dont-email.me>,
Dan Espen <dan1espen@gmail.com> wrote:
...
... to Perl.
... something any programmer could readily understand.
I'm sure opinions will vary on that.
They guy that wrote the sed/awk stuff agreed.
Curious; do you mean the authors of those languages or the
authors (pl.) of that unspecific mentioned "sed & awk" book?
Given clarity/cryptically of syntax (and their semantics)
these three languages (Awk, Perl, Sed) for sure vary a lot!
This was an app developed by one of my co-workers.
The app consisted of many shell scripts and many invocations of
awk and sed. There were dozens of files in the app. I was trying to
fix it and worked on it for quite some time before I decided it was too
many files and too many different languages being used.
I ended up re-writing the whole thing as a single Perl script.
The whole thing was all in one file and much easier to understand.
As I said, the original author agreed.
Perl can be cryptic if you use the cryptic parts of the language.
I don't.
[...], but Shell as well cat gen quite messy if you want to write [...]
On 2025-02-09, Keith Thompson wrote:
Kaz Kylheku <643-408-1753@kylheku.com> writes:
On 2025-02-09, zara <johan@freecol.be> wrote:[...]
I am working on scripts in Common Lisp using shell inside,
here's the link to the code, it's GPL2 :
http://sf.net/projects/lisp-scripts
In 2025, nobody is going to download and unpack tarballs you posted to
sourceforge to look at your code.
You might as well scratch it on the wall of your cave with a piece of
charcoal, and invite people to peruse it by the light of a torch.
Consider putting your code on GitHub instead.
So that it's harder to read or download without git or specific
browsers, or even without JavaScript; or has SourceForge reached that
level of unusability now too?
I mean, while I could understand SourceForge being not recommended for--
some reasons (which ones?), it strikes me as unlikely that GitHub is a
good option, given how they've been progressively rendering it unusable
on the web (three years ago or so it was different in this regard), and
I guess/hope that, for the git part, there would be other alternatives
there, or there really are none?
I find [SourceForgerCOs] automatic "Your download will start shortly" with
a 5-second countdown particularly obnoxious ...
On Sun, 09 Feb 2025 11:44:59 +0000, Nuno Silva wrote:
So that it's harder to read or download without git or specific
browsers ...
GitHub works fine as a source for git-clone and git-fetch commands,
without any browser being involved. And you can push to it, if you have an account. Yes, there are plenty of alternatives for Git repo hosting.
Someone else mentioned Codeberg; there are also GitLab and BitBucket.
(I think all of these require a browser interface for tasks like setting
up a repo in the first place.)
BitBucket started out hosting only Mercurial repos; then market pressures forced it to add Git as an option; then the Mercurial business proved unviable and was dropped altogether.--
SourceForge also does Git now, but I donrCOt think that makes it much more attractive. ;)
It is also easy for you to publish your own repos on your own server, through a tool as simple as Gitolite.
On 2025-02-10, Lawrence D'Oliveiro wrote:
On Sun, 09 Feb 2025 11:44:59 +0000, Nuno Silva wrote:
So that it's harder to read or download without git or specific
browsers ...
GitHub works fine as a source for git-clone and git-fetch commands,
without any browser being involved. And you can push to it, if you have an >> account. Yes, there are plenty of alternatives for Git repo hosting.
Someone else mentioned Codeberg; there are also GitLab and BitBucket.
(I think all of these require a browser interface for tasks like setting
up a repo in the first place.)
It's good to have some suggestions flowing, but a couple notes on these:
GitLab at gitlab.com also requires (or required?) agreeing to a rather
broad "indemnification" clause. Other services may have such clauses
too, but GitLab's one is quite broad and unbounded.
(At least GitLab and GitHub require specific browsers nowadays, too,
even for reading without participating.)
BitBucket started out hosting only Mercurial repos; then market pressures
forced it to add Git as an option; then the Mercurial business proved
unviable and was dropped altogether.
SourceForge also does Git now, but I donrCOt think that makes it much more >> attractive. ;)
It is also easy for you to publish your own repos on your own server,
through a tool as simple as Gitolite.
On Sun, 09 Feb 2025 11:07:43 -0500, Dan Espen wrote:
I once spent a week converting a LOT of sed/awk to Perl. I turned a
complicated mess into something any programmer could readily understand.
(And actually worked.)
I have pointed out several times that Perl does everything awk can do, at least as concisely, and a lot more besides. Which is why I never bothered
to learn awk.
Some people get annoyed every time I say that.
Now I'd use Python.
With Perl, I was never quite sure I fully understood what was going on. There was always some hint of magic lurking just behind the scenes. Also
the core language ends up quite large, with all the built-in features
packed into it.
(Those two characteristics are probably related.)
With Python, I always felt that I understood what I was doing. And I kept that feeling as I got into more complex features like descriptors and metaclasses. It is, for the most part, a language whose growth has been carefully managed, so that the language core remains compact and cohesive and yet remains an incredibly powerful base to build on (as the standard library demonstrates).
I guess/hope that, for the git part, there would be other alternatives
there, or there really are none?
I was happily using Perl for a GUI I wrote using Perl/GTK.
As GTK evolved, the Perl support got worse and worse. Eventually
forcing me to move to Python/GTK.
Since then I've found the number of interfaces from Python to other
packages is just amazing.
"Kenny" == Kenny McCormack <gazelle@shell.xmission.com> writes:
... to Perl.
... something any programmer could readily understand.
"Kenny" == Kenny McCormack <gazelle@shell.xmission.com> writes:
Kenny> In article <voajsf$nd2k$1@dont-email.me>,
Kenny> Dan Espen <dan1espen@gmail.com> wrote:
Kenny> ...
... to Perl.
... something any programmer could readily understand.
Kenny> I'm sure opinions will vary on that.
If they don't understand the Perl code, I could recommend a couple of
good books...
On 2025-02-13, Randal L. Schwartz <merlyn@stonehenge.com> wrote:
"Kenny" == Kenny McCormack <gazelle@shell.xmission.com> writes:
Kenny> In article <voajsf$nd2k$1@dont-email.me>,
Kenny> Dan Espen <dan1espen@gmail.com> wrote:
Kenny> ...
... to Perl.
... something any programmer could readily understand.
Kenny> I'm sure opinions will vary on that.
If they don't understand the Perl code, I could recommend a couple of
good books...
That makes no sense. Don't you mean Perl books?
On 2025-02-13, Randal L. Schwartz <merlyn@stonehenge.com> wrote:[...]
If they don't understand the Perl code, I could recommend a couple
good books...
That makes no sense. Don't you mean Perl books?
On Sun, 09 Feb 2025 11:07:43 -0500, Dan Espen wrote:[...]
I once spent a week converting a LOT of sed/awk to Perl. I turned
a complicated mess into something any programmer could readily
understand. (And actually worked.)
I have pointed out several times that Perl does everything awk can
do, at least as concisely, and a lot more besides. Which is why I
never bothered to learn awk.
Some people get annoyed every time I say that.
Now I'd use Python.
That's 11 cents from a retired Gynecologist :-)-O
On 13/02/2025 22:59, Kaz Kylheku wrote:
On 2025-02-13, Randal L. Schwartz <merlyn@stonehenge.com> wrote:[...]
If they don't understand the Perl code, I could recommend a couple
good books...
That makes no sense. Don't you mean Perl books?
Do you know who you are addressing?
"Dan" == Dan Cross <cross@spitfire.i.gajendra.net> writes:
I'm sure he does, I'm sure it was meant in jest, and
I'm sure that Randal took it as such.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 59 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 24:09:16 |
| Calls: | 810 |
| Calls today: | 1 |
| Files: | 1,287 |
| D/L today: |
12 files (21,036K bytes) |
| Messages: | 195,978 |