public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] audacity-2.0.5 failed to compile
Date: Thu, 3 Sep 2015 18:22:32 +0100	[thread overview]
Message-ID: <20150903182232.5d45224d@hactar.digimed.co.uk> (raw)
In-Reply-To: <CAJ1xhMWO1MqgA3sFrSL9u=4a+TGm8iCFGofu1eF9pbf58v03Zw@mail.gmail.com>

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

On Thu, 3 Sep 2015 19:16:21 +0300, Alexander Kapshuk wrote:

> >>> sed -i /libs\//d /var/lib/portage/world  
> >>
> >> After running above I get:
> >> sed: -e expression #1, char 7: unknown command: `/'
> >>
> >> Shouldn't it be:
> >> sed -i /libs\/d /var/lib/portage/world  
> 
> Enclosing the 'sed' commands in single quotes would do it:
> 
> sed -i '/libs\//d' /var/lib/portage/world

Yes, I escaped the / with \ for sed but forgot to then escape the \
for the shell. The reason for deleting all lines containing libs/ rather
than just libs is to only remove entries from a *-libs category.

Sometimes you can try too hard :(


-- 
Neil Bothwick

Never ask a geek why, just nod your head and slowly back away

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2015-09-03 17:22 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-01 22:04 [gentoo-user] audacity-2.0.5 failed to compile thelma
2015-09-01 22:55 ` Fernando Rodriguez
2015-09-01 23:05   ` thelma
2015-09-02  1:22     ` Alec Ten Harmsel
2015-09-02  2:23       ` Fernando Rodriguez
2015-09-02  2:57         ` wraeth
2015-09-02  4:24           ` thelma
2015-09-02  4:57             ` wraeth
2015-09-02  5:59               ` Mick
2015-09-02 11:50               ` Alan McKinnon
2015-09-02 12:04                 ` Dale
2015-09-02 20:25               ` thelma
2015-09-03 13:06                 ` Alec Ten Harmsel
2015-09-03 13:19                   ` Alan McKinnon
2015-09-03 13:56                     ` thelma
2015-09-03 14:27                       ` Alan McKinnon
2015-09-03 17:22                         ` Alec Ten Harmsel
2015-09-03 20:10                           ` Alan McKinnon
2015-09-03 18:57                         ` Fernando Rodriguez
2015-09-03 19:11                         ` thelma
2015-09-03 19:30                           ` Mick
2015-09-03 19:41                             ` thelma
2015-09-03 20:35                           ` Alan McKinnon
2015-09-04  8:34                             ` Neil Bothwick
2015-09-03 19:24                         ` Mick
2015-09-03 19:56                           ` thelma
2015-09-03 20:41                             ` Alan McKinnon
2015-09-04  8:38                             ` Neil Bothwick
2015-09-04 13:24                               ` Alan McKinnon
2015-09-04 21:31                                 ` Neil Bothwick
2015-09-04  9:42                         ` Peter Humphrey
2015-09-04 10:00                           ` Mick
2015-09-04 10:19                             ` Peter Humphrey
2015-09-04 10:31                           ` Neil Bothwick
2015-09-04 10:48                             ` Peter Humphrey
2015-09-04 13:26                           ` Alan McKinnon
2015-09-03 14:28                       ` Neil Bothwick
2015-09-03 15:26                         ` thelma
2015-09-03 15:31                           ` Alan McKinnon
2015-09-03 15:33                           ` thelma
2015-09-03 16:16                             ` Alexander Kapshuk
2015-09-03 17:22                               ` Neil Bothwick [this message]
2015-09-03 20:44                       ` Dale
2015-09-02 13:28             ` [gentoo-user] " James
2015-09-02  5:55           ` [gentoo-user] " Fernando Rodriguez
2015-09-02  9:15             ` Gevisz
2015-09-02  9:50               ` wraeth
2015-09-02 18:52       ` Andreas K. Huettel
2015-09-02 20:31         ` Alan McKinnon
2015-09-03 12:47         ` Alec Ten Harmsel

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=20150903182232.5d45224d@hactar.digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@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