Displaying 20 results from an estimated 100 matches similar to: "Modify string-regular expression"
2008 May 21
2
Search a string and modify it in a .txt file
Hi there,
I use R and I would like to be able to modify a file .txt "init_file" like this one :
# ---------------------------------------------------------------------------- #
# Parameters A
# ---------------------------------------------------------------------------- #
# Parameter 1
PA1 = 15
# Parameter 2
PA2 = 3
# Parameter 3
PA3 = 2
#
2008 May 28
1
Search&replace string?
Hi there,
I would like to know if it is possible to modify a text file with a R function.
In fact I would like to know if a function "Search & Replace" exists.
My problem is to create config files from a Base file in which I have to modify values of parameters.
My Base File:
#...
#...
Param1= V1_1
#...
Param2 = V2_1
Param3 = V3_1
#...
What I would like for each created file
2014 May 27
1
[HCL] GRAFENTHAL PR-3000-HS supported by snmp-ups
Dear NUT Developer Team,
we wish to report a compatible product with your software.
Product:
PR-3000-HS
SNMP/Web Minislot card (ref 149G0006)
Manufacturer:
GRAFENTHAL GmbH
Test Environment:
Version: NUT Windows 2.6.5-3
OS: Microsoft Windows Server 2012 (NT Version 6.2 Build 9200)
NUT mode: standalone
Please find the NUT configuration files, output logs and the shutdown sequence in the
2005 Jan 01
2
libFLAC bitbuffer optimizations
Josh Coalson <xflac@yahoo.com> wrote:
> thanks for the patch.
No prob :)
> also, if you have miroslav's patch again a more updated version
> of bitbuffer.c that would be great. I have been meaning to get
> around to applying it for a long time.
This is Miroslav's patch, from the mailing list post I dug up in the archives:
--- orig/src/libFLAC/bitbuffer.c
+++
2004 Sep 10
4
bitbuffer optimizations
Ok, here is a patch waiting for new CVS :). It works fine for me, but
please check it before commiting...
--
Miroslav Lichvar
-------------- next part --------------
--- src/libFLAC/bitbuffer.c.orig 2003-01-30 17:36:01.000000000 +0100
+++ src/libFLAC/bitbuffer.c 2003-01-30 21:53:18.000000000 +0100
@@ -51,6 +51,25 @@
*/
static const unsigned FLAC__BITBUFFER_DEFAULT_CAPACITY = ((65536 - 64) *
2012 Dec 17
0
Fwd: Nut-upsdev post from jackobs@macle.de requires approval
I'm forwarding Marco's msg to the list, since it's really too big, and
embeds upsc/upsrw/upscmd binaries!
cheers,
Arnaud
--
Engineering Linux/Unix Expert - Opensource Solutions Lead - Eaton -
http://opensource.eaton.com
NUT (Network UPS Tools) Project Leader - http://www.networkupstools.org
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.fr
2016 Mar 30
2
[PATCH] inspect: use os-release for CoreOS
Look for /lib/os-release in the /usr partition and try to use it, if
present, before using lsb-release later on. This should not change the
final result of the inspection, while using the os-release detection
method also for CoreOS.
---
Nikos, since you added the support for CoreOS in libguestfs, can you
please check whether this change works for you as well?
Thanks in advance.
2004 Sep 30
1
[don@donarmstrong.com: Bug#274301: libflac4 segfaults on corrupt flac files]
----- Forwarded message from Don Armstrong <don@donarmstrong.com> -----
Date: Thu, 30 Sep 2004 16:19:41 -0700
From: Don Armstrong <don@donarmstrong.com>
Resent-From: Don Armstrong <don@donarmstrong.com>
To: submit@bugs.debian.org
Subject: Bug#274301: libflac4 segfaults on corrupt flac files
Severity: normal
Package: libflac4
Version: 1.1.0-11
Running ogg123 on
2016 Jul 12
2
RFC: Strong GC References in LLVM
Hi Andy,
Andrew Trick wrote:
> Sanjoy,
>
> This looks very close to my understanding of the statepoint design
trajectory when you first introduced it. It’s great that you followed
through and took the time to formalize the IR semantics. It’s been a
couple years since I’ve thought about it so I may ask some obtuse questions.
>
> I think he subject line is wrong though! Did
2004 Dec 28
2
libFLAC bitbuffer optimizations
Pulled from my Arch archive, this following patch seems to have made
quite a difference in getting my ARM7TDMI chip to play FLAC (compression
levels 0-2) on my ipod. I don't have benchmarks with hard numbers, but
playing with skips vs playing without skips is a fairly noticeable
difference.
memcpy and memset on uClibc are optimized in asm for the ARM7TDMI in
uClibc. Other hardware/libc
2016 Jun 24
6
RFC: Strong GC References in LLVM
This is a proposal to add strong GC reference types to LLVM.
We have some local (downstream) patches that are needed to prevent
LLVM's optimizer from making transforms that are problematic in the
presence of a precise relocating GC. Adding a notion of a strong GC
reference to LLVM will let us upstream these patches in a principled
manner, and will act as a measure to avoid new problematic
2015 Sep 09
2
[PATCH] inspect: try to use /etc/os-release on Linux guests
If a Linux guest has /etc/os-release (mandatory for systemd, so all the
recent Linux distributions have it), try to parse it for the distro, its
version, and its product name. If we cannot get all of them, the
detection as done so far continues.
Other than changes in the product_name string (which is free-form
anyway, and already documented to not be parseable), there should be no
regressions in
2016 Mar 30
0
Re: [PATCH] inspect: use os-release for CoreOS
On Wed, Mar 30, 2016 at 04:38:31PM +0200, Pino Toscano wrote:
> Look for /lib/os-release in the /usr partition and try to use it, if
> present, before using lsb-release later on. This should not change the
> final result of the inspection, while using the os-release detection
> method also for CoreOS.
> ---
> Nikos, since you added the support for CoreOS in libguestfs, can you
2016 Mar 31
1
Re: [PATCH] inspect: use os-release for CoreOS
Hello,
It looks good to me and it makes the code more robust. Removing
/usr/lib/os-release in future releases of CoreOS is less probable than
removing /usr/share/coreos/lsb-release.
After such a change I would also update
`test-data/phony-guests/make-coreos-img.sh' to also inject an os-release
file in the dummy image it creates. Find attached the
`/usr/lib/os-release' and
2017 Oct 31
0
Wine release 2.20
The Wine development release 2.20 is now available.
What's new in this release (see below for details):
- Improved event support in MSHTML.
- Preloader support on ARM64.
- Interpolation modes in Direct3D.
- Improved metafile support in GdiPlus.
- Initial version of Kerberos5 Authentication Package.
- OLE clipboard cache improvements.
- Various bug fixes.
The source is available
2007 Aug 23
3
[PHP-AGI] Problem executing script
Hello,I have succeded in compiling and configuring My TDM Card and asterisk, all works fine. But I have a problem using the PHP Agi.The CLI tells me that when I call my number :-- Starting simple switch on 'Zap/4-1' -- Executing [s at incoming:1] Answer("Zap/4-1", "") in new stack -- Executing [s at incoming:2] AGI("Zap/4-1", "rabot.agi") in
2016 May 24
3
[PATCH 1/3] inspect: recognize the Void Linux distribution
Since Void Linux provides only an /etc/os-release with no VERSION_ID
field, then special-case it to avoid that the os-release parsing ignore
it.
This provides basic distro identification, and icon.
---
generator/actions.ml | 4 ++++
inspector/virt-inspector.rng | 1 +
src/guestfs-internal.h | 1 +
src/inspect-fs-unix.c | 14 ++++++++++++--
src/inspect-fs.c |
2011 Sep 20
1
Understanding API Documentation for PHP
Hey everyone,
I am brand new to Xapian so forgive me if I am just being noob.
I looked over the sparse documentation for the Xapian library and its PHP
hooks and I am really confused how to complete my index.
I understand how to add documents etc etc etc and how to build queries but
how I do specify in add_value what field type xapian should take (i.e.
tokenized, unindexed, indexed)?
Is there
2020 Oct 18
2
"unable to move extended attributes and ACL" when using mv from macOS with fruit
Hello,
Using samba 4.11.6+dfsg-0ubuntu1.5 (shipped with Ubuntu 20.04) I'm
having trouble with a macOS (10.15.7) client moving files to a share.
The server is using zfs for storage, but I can replicate with ext4 too.
I spun up a test container with the following minimal config:
[global]
log level = 7
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
log file =
2015 Sep 09
2
Re: [PATCH] inspect: try to use /etc/os-release on Linux guests
On Wednesday 09 September 2015 15:54:10 Olaf Hering wrote:
> Just poked around in my =libguestfs folder...
>
> On Wed, Sep 09, Pino Toscano wrote:
>
> > + if (STRPREFIX (line, "ID=")) {
>
> This is not handled:
>
> NAME="SLES"
> VERSION="12"
> VERSION_ID="12"
> PRETTY_NAME="SUSE Linux Enterprise Server