Displaying 20 results from an estimated 300 matches similar to: "[PATCH libguestfs] build: correct sed transformation to work also on .git-module-status"
2009 Dec 02
1
[PATCH libguestfs] accommodate leading "+" in git submodule output
With the very latest git, "git submodule status" output may now
start with a "+". This change makes it so that is also stripped
away before comparing current and stored SHA1 values.
>From 1bc2c5def80b8a0860a1980551d433f1fdce9a50 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Wed, 2 Dec 2009 15:06:48 +0100
Subject: [PATCH libguestfs]
2009 Nov 20
1
[PATCH libguestfs] build: make autogen.sh update .git-module-status, as it should
I ran autogen.sh, but then make was always failing like this:
$ make
cfg.mk:141: *** gnulib update required; run ./autogen.sh first. Stop.
Here's the fix:
>From f743f32079fea2e8a17c7f5b59305e584c75dba0 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Fri, 20 Nov 2009 14:29:55 +0100
Subject: [PATCH libguestfs] build: make autogen.sh update
2009 Aug 03
1
use gnulib, and begin to pass its "make syntax-check" tests
Here's a patch series to make libguestfs use gnulib via a git submodule.
The first thing I did was to look at the failures from "make syntax-check"
and fix the config.h-related ones below. The others are now
temporarily disabled via a variable in cfg.mk.
I fixed the config-h problems and moved those change sets to precede
the test-adding one, so that bisection still works, even if
2009 Nov 20
1
[PATCH libguestfs] maint: remove unnecessary include of openat.h
>From 34af5f3be8b04443dc151e6d070aa49cbe59b7fc Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Fri, 20 Nov 2009 11:50:54 +0100
Subject: [PATCH libguestfs] maint: remove unnecessary include of openat.h
* daemon/realpath.c: Don't include "openat.h". not used.
---
daemon/realpath.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff
2009 Nov 19
1
[PATCH libguestfs] syntax-check: expand TABs in generator.ml
>From 6f128e90afb055f9899011c4a592eb289e678936 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Thu, 19 Nov 2009 11:39:10 +0100
Subject: [PATCH libguestfs] syntax-check: expand TABs in generator.ml
* src/generator.ml: Expand leading TABs to spaces.
---
src/generator.ml | 46 +++++++++++++++++++++++-----------------------
1 files changed, 23 insertions(+), 23
2020 Jan 27
5
[PATCH 0/3] Fixing out-of-tree builds
Building virt-v2v out-of-tree does not work and requires several small fixes
here and there.
Tomáš Golembiovský (3):
build: perform gnulib check from source directory
build: run ocaml-link.sh from build directory
docs: don't perform lookup on absolute paths
cfg.mk | 1 +
podwrapper.pl.in | 2 ++
v2v/Makefile.am | 16 ++++++++--------
3 files changed, 11 insertions(+), 8
2009 Nov 20
1
fix new failures from latest-from-gnulib syntax-check
There's a new syntax check rule from gnulib.
It requires that you write e.g., exit (EXIT_SUCCESS), not exit (0).
And the same for 1/EXIT_FAILURE and any other constants.
There were a lot of violations, including a few false positives,
so I started with the exemptions (see the .x-sc file below).
Then I converted the vast majority automatically, with this:
maint: use EXIT_SUCCESS and
2019 Sep 24
0
[PATCH nbdkit 2/4] common/protocol: Remove protostrings.sed, use bash+sed instead.
Use a simple bash script to generate the protostrings.c functions.
Remove the extern decls from the nbd-protocol.h file which were used
previously in the generation of this file. They have been moved to a
new internal header called "protostrings.h".
---
common/protocol/Makefile.am | 8 ++-
...tostrings.sed => generate-protostrings.sh} | 56 +++++++++++--------
2007 Sep 04
0
Adding this sed command to the deploy script
Hello,
I have a small section of sed code I would like to add to the
deploy.rb script.
The code changes the image paths of our stylesheets
for file in *; do
sed -e ''s/\/images/http:\/\/cache\.reverbnation\.com\/images/g''
"$file" > "${file}.sub"
rm "$file"
mv "${file}.sub" "${file}"
done
I am a newbie at
2006 Oct 17
0
[PATCH] Build fix for Solaris sed.
# HG changeset patch
# User john.levon@sun.com
# Date 1161090225 25200
# Node ID 6db63d9288cbe0e80069080352a8a6257dad8118
# Parent afeef751f9dafa771726bcfb00b29a10b0baeabd
Build fix for Solaris sed.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/xen/Rules.mk b/xen/Rules.mk
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -24,9 +24,11 @@ override COMPILE_SUBARCH := $(XEN_COMPIL
2012 May 31
0
[LLVMdev] [PATCH] Build llvm-config on Windows/MSVC if sed is present
Justin Holewinski <jholewinski at nvidia.com> writes:
> The attached patch modifies the CMake/LLVMBuild scripts to build
> llvm-config on Windows if sed is found on the user's PATH. It also
> teaches LLVMBuild about MSVC library naming so llvm-config will
> produce the proper lists of library names.
>
> Any comments? Okay to commit?
The presence of sed does not mean
2011 May 04
0
CEBA-2011:0397 CentOS 5 i386 sed Update
CentOS Errata and Bugfix Advisory 2011:0397
Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-0397.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( md5sum Filename )
i386:
e0d2b8832f5c5e9c5282d7877a5097f8 sed-4.1.5-8.el5.i386.rpm
Source:
a07f73614e79631c5d6f9bb79994a71d sed-4.1.5-8.el5.src.rpm
--
Johnny Hughes
CentOS Project {
2011 May 04
0
CEBA-2011:0397 CentOS 5 x86_64 sed Update
CentOS Errata and Bugfix Advisory 2011:0397
Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-0397.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( md5sum Filename )
x86_64:
6547ceb363f5e4401a05d3e695746674 sed-4.1.5-8.el5.x86_64.rpm
Source:
a07f73614e79631c5d6f9bb79994a71d sed-4.1.5-8.el5.src.rpm
--
Johnny Hughes
CentOS
2009 Aug 19
1
sed append question
Hey guys,
I am trying to make sed append every line containing a string with another line.
problem is the appended line needs to start with a tab:
# sed -i '/string/a \tstuff\t\t\tmorestuff' file
Obviously \t or \x09 etc doesn't get interpreted unless there are other characters
before it? How can I get this to begin with a <tab>?
Thanks!
jlc
2009 Sep 21
2
sed (or other) magic to get RPM base names ?
Hey folks,
Once upon a time I saw some sed magic to take the output of "rpm -qa"
and strip away all the version info to give just the RPM base names.
And of course I forgot to note it :-/ And have not been able to
replicate it myself.
e.g. from this :
avahi-0.6.16-1.el5
avahi-glib-0.6.16-1.el5
produce this :
avahi
avahi-glib
thanks,
-Alan
--
?Don't eat anything you've
2010 Mar 09
1
sed help
Hi
Can I know how to use sed to substitue 2 instead of 1 at the same time?
eg:
sed 's/pchloe.com/abc.com/ ; /192.92.123.5/10.10.0.3/g' orgfile >> newfile
thank you
__________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and
2010 Apr 09
1
sed a particular line in file
I need to change a value in a file, but this line occurs more than once in
this file therefore as i know the line number this value appears on how can
i change that?
I thought i could use sed to change a particular line number but i dont see
that in the man page, i am trying to change a value from line number 6
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
2012 Jun 19
1
replace string with sed but not the first one
Hi,
?
We have a the following file
[ip-map]
# Unchanged IP addresses:
# Please review default IP addresses mapping below:
192.168.1.10?shared??? ->????? 192.168.123.6 shared
[namexx]
192.168.1.10
naam?? 192.168.1.10
We want to replace 192.168.1.10? to a other string but i don't want to change te first one.
?
2015 Aug 25
0
sed question
On 08/25/2015 10:50 AM, Jerry Geis wrote:
> cat my_file.txt | sed 's/CANCELID/$CHANGE/' > cancel.txt
sed doesn't perform environment variable expansion. That is to say that
when you instruct sed to substitute "$CHANGE" for "CANCELID", "$CHANGE"
is a literal string that will be substituted.
bash, on the other hand, does perform environment
2015 Aug 25
1
sed question
On 08/25/2015 11:02 AM, Gordon Messmer wrote:
>
> Additionally, you can avoid using "cat" to make the script more
> efficient. You'll start fewer processes, and complete more quickly. cat
> is almost never needed unless you actually need to con"cat"enate
> multiple files.
I sometimes like to use cat purely for stylistic reasons :
cat file.txt |\
sed