Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #223968 > unrolled thread

Re: Looping Shell Scripts and System Load

Started bykjonca@poczta.onet.pl (Kamil Jońca)
First post2020-06-24 21:40 +0200
Last post2020-06-24 21:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Looping Shell Scripts and System Load kjonca@poczta.onet.pl (Kamil Jońca) - 2020-06-24 21:40 +0200

#223968 — Re: Looping Shell Scripts and System Load

Fromkjonca@poczta.onet.pl (Kamil Jońca)
Date2020-06-24 21:40 +0200
SubjectRe: Looping Shell Scripts and System Load
Message-ID<Aljpv-7wx-1@gated-at.bofh.it>
Greg Wooledge <wooledg@eeg.ccf.org> writes:

> On Wed, Jun 24, 2020 at 08:23:18PM +0200, Roger Price wrote:
>> On Wed, 24 Jun 2020, Greg Wooledge wrote:
>> 
>> > > MEDIADIR=`pwd`
>> > 
>> > Don't use all caps variable names.
>> 
>> Without getting into syntax-religious wars, what is the reasoning behind
>> this recommendation?  Roger
>
> All-caps names are reserved for environment variables (HOME, PATH),
> and internal shell variables (IFS, PWD, HISTFILE).
Is it described somewhere in docs?
>
> Avoiding all-caps names allows you to avoid collisions with a variable
> name that might be used for something else.  Most of the time.  This
Well, I think that reasonable prefix ("KJ_" :) ) prevent this :)

KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html

[toc] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web