Displaying 20 results from an estimated 300 matches similar to: "Paths for Shell Scripts called from R"
2016 Dec 14
4
[FileCheck] Fix --strict-whitespace --match-full-lines
Hi,
this patch fixes a problem with leading/trailing whitespace matching for
FileCheck --strict-whitespace --match-full-lines.
Consider a text file:
...
$ cat DUMP
bla1
bla2
bla3
bla4
bla5
...
with some leading and trailing spaces, made more visible like this:
...
$ sed 's/ /_/g' DUMP
bla1
bla2
_bla3
bla4_
_bla5_
...
and a FileCheck file CHECK to match DUMP:
...
$ cat CHECK
//
2016 Dec 14
0
[FileCheck] Fix --strict-whitespace --match-full-lines
Please send patches to llvm-commits not llvm-dev.
Writing FileCheck tests has pitfalls. A test along these lines:
bla0
CHECK:bla1
will actually pass, because the CHECK pattern is also part of the input
so it will readily match itself. You want the CHECK lines not to match
themselves, which you can easily do by introducing {{}} into the (middle
of the) pattern. That is:
bla0
CHECK:{{bla1}}
2016 Dec 14
2
[FileCheck] Add --verbose
Hi,
this patch adds a --verbose option to FileCheck. [ An alternative name
could be --debug or --debug-pattern. ]
Consider a file CHECK:
...
// CHECK-LABEL:bla1
// CHECK-NEXT:bla2
// CHECK-NEXT: bla3
// CHECK-NEXT:bla4
// CHECK-NEXT: bla5
...
and a FileCheck command using --verbose:
...
$ echo | FileCheck CHECK --strict-whitespace --match-full-lines --verbose
...
For each check the actual
2016 Dec 14
0
[FileCheck] Add --verbose
+jyknight, who added --match-full-lines
On 12/14/16 5:25 AM, Tom de Vries wrote:
> Hi,
>
> this patch adds a --verbose option to FileCheck. [ An alternative name
> could be --debug or --debug-pattern. ]
>
> Consider a file CHECK:
> ...
> // CHECK-LABEL:bla1
> // CHECK-NEXT:bla2
> // CHECK-NEXT: bla3
> // CHECK-NEXT:bla4
> // CHECK-NEXT: bla5
> ...
>
2016 Dec 15
3
[FileCheck] Fix --strict-whitespace --match-full-lines
On 14/12/16 18:48, Robinson, Paul wrote:
> Please send patches to llvm-commits not llvm-dev.
>
> Writing FileCheck tests has pitfalls. A test along these lines:
>
> bla0
> CHECK:bla1
>
> will actually pass, because the CHECK pattern is also part of the input
> so it will readily match itself. You want the CHECK lines not to match
> themselves, which you can easily do
2016 Dec 15
0
[FileCheck] Fix --strict-whitespace --match-full-lines
> -----Original Message-----
> From: Tom de Vries [mailto:Tom_deVries at mentor.com]
> Sent: Thursday, December 15, 2016 2:31 AM
> To: Robinson, Paul
> Cc: Jonathan Roelofs; llvm-dev at lists.llvm.org
> Subject: Re: [llvm-dev] [FileCheck] Fix --strict-whitespace --match-full-
> lines
>
> On 14/12/16 18:48, Robinson, Paul wrote:
> > Please send patches to
2016 Dec 14
1
[FileCheck] Add --verbose
Seems pretty useful!
+1 to Jon's comments.
Procedural remark: patches normally go to llvm-commits not llvm-dev.
--paulr
> -----Original Message-----
> From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of
> Jonathan Roelofs via llvm-dev
> Sent: Wednesday, December 14, 2016 8:09 AM
> To: Tom de Vries; llvm-dev at lists.llvm.org; James Y Knight
> Subject: Re:
2007 Jun 04
3
Method of specifying tags in the puppetd.conf
Hi,
From looking at the puppetd --help, there is not currently (at 0.22.4)
a method of specifying tags in the puppetd.conf.
I was hoping to use this for the following reason:
Currently, I use ''noop = true'' in my puppetd.conf, and run ''puppetd
--no-noop {tags}'' to install the configurations that I am happy with.
This is because I''m currently
2007 Jun 05
2
.activate() behaviour
Hi all,
I''m trying to understand why the following code doesnt work...
----------------------------------------------------------------------------------------
<html>
<head>
<title>blabla</title>
<script type="text/javascript" src="prototype.js"></script>
</head>
<body>
<form action="bllalba">
2006 Aug 16
1
how to update a collection_select from another
I have two collection_select in my list.rhtml:
<%= collection_select (:region, :id, @regionall, :id,
:title,html_options={:onChange => "new
Ajax.Updater(''related_provinces'',''/categories/related_provinces/" +
"?id=''+this[this.selectedIndex].value,
{asynchronous:true, evalScripts:true});"}) %><br>
<%= render :partial =>
2013 Jul 09
9
One resource immediately after another
I need to apply three resources one immediatelly after another. It''s a
ifdown/ifup commands, and command to generate /etc/network/interfaces file.
I need to do ifdown, then rebuild interfaces, then ifup. I try to add
simple relationship, but in this case some File resources are trying to be
applied between ifdown and ifup. So they can''t connect to Puppet master to
verify
2004 Dec 05
2
String manipulation---mixed case
Hello,
Does anyone know of a "slick" way to get R to convert a string which is all upper case to a string where the first letter in each word is upper case and all others are lower case?
I suspect the solution is to begin by parsing the string, convert the appropriate letters to upper and lower case using "toupper" and "tolower", and then to paste the pieces back
2004 Dec 02
16
How about a mascot for R?
R users,
How come R doesn't have a mascot? Linux has one and so does LaTeX, so shouldn't R? I personally think that associating a "friendly face" with R would be a good thing for R (one letter names can be quite intimidating).
I apologize if this is addressed in the FAQ. I searched the FAQ as well as the mailing list archives and checked
?mascot
but to no avail. ;-)
2013 Mar 06
1
[Bug 7120] Variable bandwidth limit .. bwlimit
mhh - interesting question......
what about combining the power of throttle ( http://linux.die.net/man/1/throttle ) or similar tools (there are some more like this) with rsync ?
via this hint: http://lists.samba.org/archive/rsync/2006-February/014623.html i got a clue how to combine rsync and throttle and gave it a try :
cat throttle-wrap
#!/bin/bash
throttle -k 1 -s 1| "$@"
rsync
2013 Jan 09
1
NAS and 2 active Samba servers / locking not working
Hi,
I have one NAS which I can access via NFS or Samba.
This storage is accessed by 2 linux servers with Samba where I re-export the NAS share. This is sort of an active/active loadbalancing cluster.
The only thing not working is locking... If a client opens a Word-File via server1 and another opens the same via server2 it won't inform the user that he can only open the file readonly.
I was
2004 Oct 10
2
Use l7-filter in/and TCNG.
Hello every one!
I''m making a project to a discipline in the university and the project
is make a Linux router that grants QoS to Multimedia connections (the
prof. say we can use Open Source Soft. :) or reinvent the wheel). I have
been googeling and googeling and i found the l7-filter in source forge
and the spectacular simple language that is TCNG. Well the problem is
how can i
2016 Dec 15
1
[FileCheck] Fix --strict-whitespace --match-full-lines
On 15/12/16 17:51, Robinson, Paul wrote:
>
>
>> -----Original Message-----
>> From: Tom de Vries [mailto:Tom_deVries at mentor.com]
>> Sent: Thursday, December 15, 2016 2:31 AM
>> To: Robinson, Paul
>> Cc: Jonathan Roelofs; llvm-dev at lists.llvm.org
>> Subject: Re: [llvm-dev] [FileCheck] Fix --strict-whitespace --match-full-
>> lines
>>
2006 Sep 25
1
Rows of a data frame to matrix
useRs,
I have a data frame where four of the columns of the data frame represent the values of a two-by-two
matrix. I'd like to, row-by-row, go through the data frame and use the four columns, in matrix form, to
perform calculations necessary to create new values for variables in the data frame. My first idea was to
use apply:
apply(as.array(data.frame[,1:4]), 1, matrix, nrow=2)
Though
2011 Feb 17
2
Dependency on R-Forge Package
In building a package, is it possible to make the package depend upon another package that is only available on R-Forge (not CRAN). For example, by doing something in the DESCRIPTION file
I'd like to add a dependency to my package such that when the user install my package it will automatically install this other package from R-forge as well.
Any help greatly appreciated.
Damian
2007 Oct 06
4
seemingly no good way to end bulleted list and start code block
Howdy,
The following bug report was sent to the Debian BTS. Is there a way
to have a code block immediately follow an unordered list?
----- Forwarded message from Joey Hess <joeyh at debian.org> -----
Consider this markdown:
* bla
* bla2
this should be treated as code block
and it is not ...
but if bullets are not above this, it works
If the first code block is indented with