On 2010-08-28 20:54:42 +1000, Brian May wrote:
> When the solution is easy I don't see why we don't just do it.
>
> br...@andean:~$ i="cat's meow.tar.gz"
> br...@andean:~$ echo "`basename "$i" .tar.gz`"
> cat's meow
>
> (yes, the nested quotes don't seem to matter)
They matter if you have consec
On 27 August 2010 18:20, Adam Borowski wrote:
> On Fri, Aug 27, 2010 at 10:09:49AM +0200, posion bit wrote:
>> > (/etc/mc/mc.menu)
>> > case "$i" in
>> > *.tar.gz) D="`basename $i .tar.gz`";;
>>
>> In that case, name-spaced filenames should work, because the
>> string is
On Fri, Aug 27, 2010 at 05:23:13PM -0700, Russ Allbery wrote:
> Adam Borowski writes:
> > On Fri, Aug 27, 2010 at 11:08:11AM -0700, Russ Allbery wrote:
>
> >> Could you please either start reporting (wishlist) bugs asking to make
> >> these scripts more robust against strange administrative pract
Adam Borowski writes:
> On Fri, Aug 27, 2010 at 11:08:11AM -0700, Russ Allbery wrote:
>> Could you please either start reporting (wishlist) bugs asking to make
>> these scripts more robust against strange administrative practices or
>> get tired of all this a little bit faster?
> While being rob
On Fri, Aug 27, 2010 at 11:08:11AM -0700, Russ Allbery wrote:
> Could you please either start reporting (wishlist) bugs asking to make
> these scripts more robust against strange administrative practices or get
> tired of all this a little bit faster?
While being robust against "/etc/rcS.d/S50foo
Russ Allbery wrote:
> Could you please either start reporting (wishlist) bugs asking to make
> these scripts more robust against strange administrative practices or get
> tired of all this a little bit faster? A large thread in debian-devel
> with no concrete actionable reports is basically useles
On Fri, Aug 27, 2010 at 10:36:52AM +0200, posion bit wrote:
> On Fri, Aug 27, 2010 at 10:26 AM, Steve Langasek wrote:
> > Given that he hasn't bothered to present a single definitively broken script
> > in /etc but instead seems to think that his prowess with grep entitles him
> > to leave this mo
On Fri, Aug 27, 2010 at 8:08 PM, Russ Allbery wrote:
> Could you please either start reporting (wishlist) bugs asking to make
> these scripts more robust against strange administrative practices or get
> tired of all this a little bit faster? A large thread in debian-devel
> with no concrete acti
posion bit writes:
> I showed one case in /etc/profile
> I've just fast looked and show another case in /etc/init.d/rc
> I'm getting tired of all this
Could you please either start reporting (wishlist) bugs asking to make
these scripts more robust against strange administrative practices or get
On Fri, Aug 27, 2010 at 4:36 PM, Norbert Preining wrote:
> On Fr, 27 Aug 2010, posion bit wrote:
>> http://mywiki.wooledge.org/BashPitfalls
>
> Thanks, nice reading.
>
> Best wishes
I haven't write a line of that enlightened wiki :-)
Just sharing information sources with best wishes to all debi
On Fr, 27 Aug 2010, posion bit wrote:
> http://mywiki.wooledge.org/BashPitfalls
Thanks, nice reading.
Best wishes
Norbert
Norbert Preiningprein...@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan
On Fri, Aug 27, 2010 at 1:57 PM, Marco d'Itri wrote:
> On Aug 27, Samuel Thibault wrote:
>
>> Not if I have a "/etc/rc2.d/K03my damn daemon"
> True, but then you deserve all the pain you will receive.
Hi again, Marco and all.
I would love to invite to community to take a read to common
document
On Aug 27, Samuel Thibault wrote:
> Not if I have a "/etc/rc2.d/K03my damn daemon"
True, but then you deserve all the pain you will receive.
--
ciao,
Marco
signature.asc
Description: Digital signature
On 27.08.2010 12:29, posion bit wrote:
On Fri, Aug 27, 2010 at 12:13 PM, Josselin Mouette wrote:
Le vendredi 27 août 2010 à 11:57 +0200, Samuel Thibault a écrit :
Not if I have a "/etc/rc2.d/K03my damn daemon"
Which is again the debian rules and the LSB rules about
naming the init.d scripts.
On Fri, Aug 27, 2010 at 12:13 PM, Josselin Mouette wrote:
> Le vendredi 27 août 2010 à 11:57 +0200, Samuel Thibault a écrit :
>> > >Not if I have a "/etc/rc2.d/K03my damn daemon"
>> >
>> > Which is again the debian rules and the LSB rules about
>> > naming the init.d scripts.
>>
>> Debian rules an
Le vendredi 27 août 2010 à 11:57 +0200, Samuel Thibault a écrit :
> > >Not if I have a "/etc/rc2.d/K03my damn daemon"
> >
> > Which is again the debian rules and the LSB rules about
> > naming the init.d scripts.
>
> Debian rules and LSB won't prevent users (even root) from doing that.
And if ro
Giacomo A. Catenazzi, le Fri 27 Aug 2010 10:36:11 +0200, a écrit :
> On 27.08.2010 10:27, Samuel Thibault wrote:
> >Giacomo A. Catenazzi, le Fri 27 Aug 2010 10:21:06 +0200, a écrit :
> >>On 27.08.2010 10:09, posion bit wrote:
> >>>look one so simple in /etc/init.d/rc
> >>>
> >>>
On 27.08.2010 10:27, Samuel Thibault wrote:
Giacomo A. Catenazzi, le Fri 27 Aug 2010 10:21:06 +0200, a écrit :
On 27.08.2010 10:09, posion bit wrote:
look one so simple in /etc/init.d/rc
for i in /etc/rc$runlevel.d/K$level*
do
On 27.08.2010 10:34, posion bit wrote:
On Fri, Aug 27, 2010 at 10:27 AM, Samuel Thibault wrote:
Giacomo A. Catenazzi, le Fri 27 Aug 2010 10:21:06 +0200, a écrit :
On 27.08.2010 10:09, posion bit wrote:
look one so simple in /etc/init.d/rc
for i in /etc/rc$runlevel.d/
On Fri, Aug 27, 2010 at 09:58:22AM +0200, Adam Borowski wrote:
> On Fri, Aug 27, 2010 at 10:30:07AM +0400, Stanislav Maslovski wrote:
> > On Fri, Aug 27, 2010 at 12:22:08AM +0200, posion bit wrote:
> > > There are 38 unquoted $i in /etc in i386 installing base+laptop+standar
> > >
> > > There are
On Fri, Aug 27, 2010 at 10:26 AM, Steve Langasek wrote:
> Given that he hasn't bothered to present a single definitively broken script
> in /etc but instead seems to think that his prowess with grep entitles him
> to leave this most basic proof as an exercise for the reader, I'm pretty
> sure the
On Fri, Aug 27, 2010 at 10:27 AM, Samuel Thibault wrote:
> Giacomo A. Catenazzi, le Fri 27 Aug 2010 10:21:06 +0200, a écrit :
>> On 27.08.2010 10:09, posion bit wrote:
>> >look one so simple in /etc/init.d/rc
>> >
>> > for i in /etc/rc$runlevel.d/K$level*
>> >
Giacomo A. Catenazzi, le Fri 27 Aug 2010 10:21:06 +0200, a écrit :
> On 27.08.2010 10:09, posion bit wrote:
> >look one so simple in /etc/init.d/rc
> >
> > for i in /etc/rc$runlevel.d/K$level*
> > do
> > # Check if the
On Fri, Aug 27, 2010 at 09:58:22AM +0200, Adam Borowski wrote:
> While many of these are false alarms (numbers, fixed names, ...), the
> problem is real. Sometimes you even have a proper and improper usage on the
> same or on subsequent lines:
> (/etc/mc/mc.menu)
> case "$i" in
>
On 27.08.2010 10:09, posion bit wrote:
On Fri, Aug 27, 2010 at 9:58 AM, Adam Borowski wrote:
On Fri, Aug 27, 2010 at 10:30:07AM +0400, Stanislav Maslovski wrote:
On Fri, Aug 27, 2010 at 12:22:08AM +0200, posion bit wrote:
There are 38 unquoted $i in /etc in i386 installing base+laptop+standar
On Fri, Aug 27, 2010 at 10:09:49AM +0200, posion bit wrote:
> > (/etc/mc/mc.menu)
> > case "$i" in
> > *.tar.gz) D="`basename $i .tar.gz`";;
>
> In that case, name-spaced filenames should work, because the
> string is a _quoted_ multi-word string.
i="cat's meow.tar.gz"
posion bit, le Fri 27 Aug 2010 10:09:49 +0200, a écrit :
> > (/etc/mc/mc.menu)
> > case "$i" in
> > *.tar.gz) D="`basename $i .tar.gz`";;
>
>
> In that case, name-spaced filenames should work, because the
> string is a _quoted_ multi-word string.
Not in the basename cal
On 27.08.2010 08:30, Stanislav Maslovski wrote:
On Fri, Aug 27, 2010 at 12:22:08AM +0200, posion bit wrote:
I've just started my love history again with squeeze.
There are 38 unquoted $i in /etc in i386 installing base+laptop+standar
There are 172 "$i" (maching without spaces around) 38 of the
On Fri, Aug 27, 2010 at 9:58 AM, Adam Borowski wrote:
> On Fri, Aug 27, 2010 at 10:30:07AM +0400, Stanislav Maslovski wrote:
>> On Fri, Aug 27, 2010 at 12:22:08AM +0200, posion bit wrote:
>> > There are 38 unquoted $i in /etc in i386 installing base+laptop+standar
>> >
>> > There are 172 "$i" (mac
On Fri, Aug 27, 2010 at 10:30:07AM +0400, Stanislav Maslovski wrote:
> On Fri, Aug 27, 2010 at 12:22:08AM +0200, posion bit wrote:
> > There are 38 unquoted $i in /etc in i386 installing base+laptop+standar
> >
> > There are 172 "$i" (maching without spaces around) 38 of them matches
> > whit spac
On Fri, Aug 27, 2010 at 12:22:08AM +0200, posion bit wrote:
> I've just started my love history again with squeeze.
>
> There are 38 unquoted $i in /etc in i386 installing base+laptop+standar
>
> There are 172 "$i" (maching without spaces around) 38 of them matches
> whit spaces around (unquoted)
31 matches
Mail list logo