All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] sensors.conf syntax: anyone use escape sequences?
Date: Fri, 17 Nov 2006 10:26:16 +0000	[thread overview]
Message-ID: <20061117112616.cfa66388.khali@linux-fr.org> (raw)
In-Reply-To: <20061112140142.GB8009@jupiter.solarsys.private>

Hi Mark,

On Sun, 12 Nov 2006 09:01:42 -0500, Mark M. Hoffman wrote:
> This is a question about sensors.conf syntax:
> 
> For a quoted string, libsensors currently accepts C language escape sequences
> like '\n' for newline, etc.  It also accepts octal escapes, like '\015', but
> for some reason it doesn't accept hex escapes, like '\x20'.
> 
> Question: is anyone actually using these escapes?
> 
> I wouldn't mind getting rid of them.

I've never seen them used. I agree that octal escapes don't sound very
useful, assuming libsensors accepts all character values in quoted
strings, and not only the 32-127 range. Same applies to C language
escape sequences, except \n, as I guess there is no other way to
include a newline in a string?

Then the question is, how much does it cost? It's not a totally
unreasonable feature, so we'd need a good reason to get rid of it.

Thanks,
-- 
Jean Delvare


  reply	other threads:[~2006-11-17 10:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-12 14:01 [lm-sensors] sensors.conf syntax: anyone use escape sequences? Mark M. Hoffman
2006-11-17 10:26 ` Jean Delvare [this message]
2006-12-21 12:44 ` Mark M. Hoffman
2006-12-21 13:29 ` Mark M. Hoffman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061117112616.cfa66388.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.