public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] escaping variables in sed expressions
Date: Wed, 16 Apr 2008 18:24:05 +0100	[thread overview]
Message-ID: <20080416182405.651698dd@snowcone> (raw)
In-Reply-To: <20080416171751.GT29406@der-frank.org>

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

On Wed, 16 Apr 2008 19:17:51 +0200
Frank Gruellich <frank@der-frank.org> wrote:
> I was not able to create a filename or path containing it.  (Anyone
> else?)

Unix file names can't contain / or null.

> Unfortunately that stupid sed does not work with \x00 as
> delimiter...

Nor do most Unix apps, since they tend to be written in C using all
those C library functions that work on null terminated strings.

Null introduces far more problems than it solves, character-wise...

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-04-16 17:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-15 11:14 [gentoo-dev] escaping variables in sed expressions Marijn Schouten (hkBst)
2008-04-15 11:05 ` Santiago M. Mola
2008-04-15 11:14   ` Fabian Groffen
2008-04-15 14:17   ` Frank Gruellich
2008-04-15 15:16     ` Marius Mauch
2008-04-16 17:17       ` Frank Gruellich
2008-04-16 17:24         ` Ciaran McCreesh [this message]
2008-04-17  4:31           ` [gentoo-dev] " Duncan
2008-04-17  5:49             ` Rémi Cardona
2008-04-18  0:45               ` Duncan
2008-04-17  9:51             ` Santiago M. Mola
2008-04-18  1:05               ` Duncan
2008-04-17 10:40             ` Olivier Galibert
2008-04-21 15:39           ` Steve Long
2008-04-15 11:29 ` [gentoo-dev] " David Leverton
2008-04-15 13:10 ` Ulrich Mueller
2008-04-15 14:52 ` Petteri Räty
2008-04-15 15:29   ` Marijn Schouten (hkBst)
2008-04-15 15:35 ` Mike Frysinger

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=20080416182405.651698dd@snowcone \
    --to=ciaran.mccreesh@googlemail.com \
    --cc=gentoo-dev@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox