@user9303970 just saw this a few minutes ago and had a quick look at your github repo. Overall, my reaction is that I feel kind of ill that any of my comments or answers might have contributed to this even in a small way. BTW, are you aware that Debian's wordpress package comes with a system for automating the config for multiple wordpress sites? See /etc/wordpress/ and /usr/share/doc/wordpress/README.Debian.gz (dunno if this is inherited or adapted by ubuntu or mint etc).
@JeffSchaller Yes, two things: 1) A repository should probably not have all its files executable, and 2) The command line options are out-of-order (probably doesn't matter if it's a GNU chmod).
@Kusalananda Now that makes me curious, if you put a space in $HOME, how many things would break? This is an experiment I encourage my enemies to try on their systems. Well, at least I would, had I enemies.
On sane systems, yes. Or rather, on systems with sane admins.
I'd still quote it though.
Actually, you should probably quote it in case HOME is set explicitly for a service (or whatever) that runs in some other location than a bog standard home directory.
terdon@tpad ~ $ sudo mkdir "/this be one dumb ol' path!"
terdon@tpad ~ $ HOME="/this be one dumb ol' path!"
terdon@tpad terdon $ cd
terdon@tpad ~ $ pwd
/this be one dumb ol' path!
Just sayin'
At least, this fails on my Arch:
$ sudo useradd -d "/this be one dumb ol' path!" -m -s /bin/bash 'and this be one dumb user name'
useradd: invalid user name 'and this be one dumb user name'
@Kusalananda If it isn't asking for a link to another site, don't use it. That's the basic rule of thumb. Questions asking for a step by step tutorial are fine. We can give that here, if we are so inclined. Questions like "Hey, where can I find a good video explaining foo" are not fine and are requests for learning materials.
The difference is between asking a question that can be answered here and asking a question that can only be answered by "go to this other place".
I'm wondering how xml parser does the job where in all sites I see it's a mistake to parse xml with text processing tools or regex. Then what logic xml parser tools or commands are using to process that xml?
@derobert @Kusalananda thanks for the feedback
as I checked, inside netrc also I need to provide user and pass of remote server, so this way it does help, I just save password in different file called netrc rather than my own script
How does find process names if those names are changed by -exec? I just anwered an old question and rathor than using find to find and rename files I used it to find directories and then applied a script to these to change the filenames.
I did it that way because I wasn't sure that if I changed a file's name, it would then "be found again" by the same invokction of find... Hmm... seems a bit silly now when I think about it.
@Kusalananda Now that makes me curious, if you put a space in $HOME, how many things would break? This is an experiment I encourage my enemies to try on their systems. Well, at least I would, had I enemies.
@Kusalananda It feels like you've almost answered your own question with the spec quote. But I'm sure if you manage to summon Stéphane Chazelas or Gilles there is much more to know about it than I can imagine.
The test is the same, but the result of the substitution depends on the value of the variable. If the value contains the caused by string, it will be modified by the substitution and the test will trigger.
@derobert I don't feel like I did. If it's unspecified, then a whole lot of answers here have unspecified results.
I've been in my garage fighting my truck and cursing up a storm. I had to replace an o2 sensor. Took me forever to get the old one out only to find the new one I ordered is not the correct part
This is the third time I have learned my lesson about buying auto parts from amazon. If amazon says it will fit your vehicle, chances are it will actually not fit your vehicle