Re: shell script problem

2019-02-05 Thread john doe
On 2/5/2019 4:43 PM, ghe wrote: > Buster > > A shell script has begun to throw errors I can't seem to get rid of. > Didn't used to -- it started in the past few days. > > I have access to a couple Internet connections: a slow but extremely > reliable T1 I've been with for years, and a Comcast resid

Re: shell script problem

2019-02-05 Thread ghe
On 2/5/19 9:19 AM, Jude DaShiell wrote: > Have you tried replacing "-" with \45 yet? That's the ascii equivalent > for "-'. Excellent idea. But: root@sbox:~# systemctl unmask \45.mount Unit 45.mount does not exist, proceeding anyway. (Same with quotes.) -- Glenn English

Re: shell script problem

2019-02-05 Thread john doe
On 2/5/2019 7:17 PM, ghe wrote: > On 2/5/19 9:19 AM, Jude DaShiell wrote: > >> Have you tried replacing "-" with \45 yet? That's the ascii equivalent >> for "-'. > > Excellent idea. But: > > root@sbox:~# systemctl unmask \45.mount > Unit 45.mount does not exist, proceeding anyway. > > (Same with q

Re: shell script problem

2019-02-05 Thread ghe
On 2/5/19 9:12 AM, john doe wrote: > What message Never mind. It quit complaining. No changes to the scripts. Maybe a systemd update -- there are several updates to lots of code with testing. Thanks for the responses. > In general, ignoring error messages is a recipe for disaster. You'd think s

Re: shell script problem

2019-02-05 Thread Greg Wooledge
On Tue, Feb 05, 2019 at 11:51:42AM -0700, ghe wrote: > I'd still like to know what 'mask' means in systemd. >From man systemctl: mask NAME... Mask one or more units, as specified on the command line. This will link these unit files to /dev/null, making it impossible t

Re: shell script problem

2019-02-05 Thread Jude DaShiell
sts.debian.org > Subject: Re: shell script problem > Resent-Date: Tue, 5 Feb 2019 18:18:34 + (UTC) > Resent-From: debian-user@lists.debian.org > > On 2/5/19 9:19 AM, Jude DaShiell wrote: > > > Have you tried replacing "-" with \45 yet? That's the ascii

Re: shell script problem

2019-02-05 Thread ghe
On 2/5/19 12:01 PM, Greg Wooledge wrote: >>From man systemctl: > >mask NAME... >Mask one or more units, as specified on the command line. This will >link these unit files to /dev/null, making it impossible to start >them. This is a stronger version of d

Re: shell script problem

2019-02-05 Thread Greg Wooledge
On Tue, Feb 05, 2019 at 02:00:12PM -0700, ghe wrote: > I still think that that massive effort might have been better spent > fixing init. Handling threads, tightening some methods and regulations, > tidying up init.d and its buds, [...] Start here: https://jdebp.eu/FGA/system-5-rc-problems.html

Re: shell script problem

2019-02-05 Thread ghe
On 2/5/19 2:05 PM, Greg Wooledge wrote: >> I still think that that massive effort might have been better spent >> fixing init. Handling threads, tightening some methods and regulations, >> tidying up init.d and its buds, [...] > > Start here: https://jdebp.eu/FGA/system-5-rc-problems.html Yup. T

Re: shell script problem

2019-02-05 Thread John Crawley
On 06/02/2019 03.17, ghe wrote: On 2/5/19 9:19 AM, Jude DaShiell wrote: Have you tried replacing "-" with \45 yet? That's the ascii equivalent for "-'. Excellent idea. But: root@sbox:~# systemctl unmask \45.mount Unit 45.mount does not exist, proceeding anyway. (Same with quotes.) You mi

Re: shell script problem

2019-02-06 Thread Rusi Mody
I seem to be missing something... Is -.mount literally a thing? Or -- more likely -- are shell's arcane quoting/interpolating rules garbling something quite into a "-" unit?

Re: shell script problem

2019-02-06 Thread tomas
On Wed, Feb 06, 2019 at 02:04:54AM -0800, Rusi Mody wrote: > I seem to be missing something... > Is -.mount literally a thing? > Or -- more likely -- are shell's arcane quoting/interpolating rules garbling > something quite into a "-" unit? Perhaps you're better off looking into the systemd co

Re: shell script problem

2019-02-06 Thread Greg Wooledge
On Wed, Feb 06, 2019 at 02:22:35PM +0900, John Crawley wrote: > On 06/02/2019 03.17, ghe wrote: > > On 2/5/19 9:19 AM, Jude DaShiell wrote: > > > Have you tried replacing "-" with \45 yet? That's the ascii equivalent > > > for "-'. > > > > Excellent idea. But: > > > > root@sbox:~# systemctl unma

Re: shell script problem (was: Re: [OT] rearranging data files)

2002-06-08 Thread Derrick 'dman' Hudson
On Sat, Jun 08, 2002 at 07:14:03PM +0200, Jörg Johannes wrote: | > Hm. | > | > If | > ./col2row.sh | > gives "Keine Berechtigung", but this one works: | > sh ./col2row.sh | > | > then you most likely put the script on a filesystem that has been | > mounted with the "noexec" attribute. Som