calling the directory…
netmeeting ils
pinging…
Unix machines can cope with backslashes and spaces in filenames.
steve g <Sgonedes1977@gmail.com> writes:
Anton Antimo <anton@safunu.org> writes:
steve g <Sgonedes1977@gmail.com> writes:
Anton Antimo <anton@safunu.org> writes:
I'm just curious why someone would escape slashes and make it the
default on a library to handle JSON (of any sort).
Microsoft.
Sorry---too terse to me. Care to explain what ``Microsoft'' means?
In the USA Microsoft is a human entity with all the rights of a citizen;
hence incorporated. Have you never heard of this company?
I know the company. I just didn't know what you meant. Now I do. But
like you said in the other post, Microsoft cares about backslashes, not slashes.
Lawrence D’Oliveiro <ldo@nz.invalid> writes:
Unix machines can cope with backslashes and spaces in filenames.
Yes, these days you are correct. Years ago it was quite annoying
having spaces in the folder when gpm and bash.
Anton Antimo <anton@safunu.org> writes:
steve g <Sgonedes1977@gmail.com> writes:
Anton Antimo <anton@safunu.org> writes:
steve g <Sgonedes1977@gmail.com> writes:
Anton Antimo <anton@safunu.org> writes:
I'm just curious why someone would escape slashes and make it the
default on a library to handle JSON (of any sort).
Microsoft.
Sorry---too terse to me. Care to explain what ``Microsoft'' means?
In the USA Microsoft is a human entity with all the rights of a citizen; >>> hence incorporated. Have you never heard of this company?
I know the company. I just didn't know what you meant. Now I do. But
like you said in the other post, Microsoft cares about backslashes, not
slashes.
My apologies; they just drive me crazy. Thank god for Gnu software...
Yes, these days you are correct. Years ago it was quite annoying having spaces in the folder when gpm and bash.
Dealing with newlines can be done, too, it is just slightly more
complicated.
Somewhere along the lead up to that point is when I decide that things
are getting too complicated for a shell script, and that I should
resort to a more facile programming language, like Python.
Lawrence D’Oliveiro <ldo@nz.invalid> writes:
Dealing with newlines can be done, too, it is just slightly more
complicated.
The point is that there are very few occasions where this happens;
most programmers probably never even thought abour the EOL
character...
Somewhere along the lead up to that point is when I decide that
things are getting too complicated for a shell script, and that I
should resort to a more facile programming language, like Python.
I like perl for grungy regexps and parsing... to each their own.
Lawrence D’Oliveiro <ldo@nz.invalid> writes:
The point is that there are very few occasions where this happens; most programmers probably never even thought abour the EOL character...
On Wed, 25 Nov 2026 20:00:12 -0500, steve g wrote:
Lawrence D’Oliveiro <ldo@nz.invalid> writes:
Dealing with newlines can be done, too, it is just slightly more
complicated.
The point is that there are very few occasions where this happens;
most programmers probably never even thought abour the EOL
character...
But you have no idea what users will do.
Somewhere along the lead up to that point is when I decide that
things are getting too complicated for a shell script, and that I
should resort to a more facile programming language, like Python.
I like perl for grungy regexps and parsing... to each their own.
I started with Perl. For a long while, it had the edge in terms of
sheer variety of addon packages. But not any more.
steve g <Sgonedes1977@gmail.com> wrote:
Lawrence D’Oliveiro <ldo@nz.invalid> writes:
The point is that there are very few occasions where this happens; most
programmers probably never even thought abour the EOL character...
If you write programs that grovel over large directory trees with files written by naïve users ('naïve' here meaning 'experts in a field which just uses computers as tools'), you *will* find filenames that include newlines.
And carriage returns. And tabs. And almost anything, perhaps actually anything, that the underlying filesystem allows.
You won't find them very often, but you must be willing to deal with them.
I really like perl. I love to hear that people are no longer
interested in it because it is not new.
data: api.nasa.gov (APOD, NeoWs)
| Sysop: | cequra |
|---|---|
| Location: | Grimsby United Kingdom |
| Users: | 4 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 498852:59:11 |
| Calls: | 197 |
| Files: | 8,821 |
| D/L today: |
29 files (9,432K bytes) |
| Messages: | 39,038 |