search for: some_command

Displaying 10 results from an estimated 10 matches for "some_command".

2013 May 02
7
repeat command
There is a unix command called repeat. repeat 10 some_command Basically repeats some command ten times. Is it available on Centos 6 and what package provides it?
2024 May 03
2
Get a copy of a matrix only for TRUE entries of a matching size boolean matrix?
...] "A" "B" [2,] "C" "D" > mat_bools <- matrix(data=c(FALSE, TRUE, TRUE, FALSE), ncol=2, byrow=TRUE) > mat_bools [,1] [,2] [1,] FALSE TRUE [2,] TRUE FALSE *Reminder:* The following is only an example ; the solution might look very different. some_command(mat_letters, mat_bools, false=empty) [,1] [,2] [1,] "" "B" [2,] "C" "" some_command(mat_letters, mat_bools, false=na) [,1] [,2] [1,] NA "B" [2,] "C" NA Thank you kindly [[alternative HTML version deleted]]
2013 Oct 30
1
Lazy evaluation of exec clause in ssh Match statement
Hello, At present, if a ssh Match block contains an exec clause, the specified command is executed regardless of whether any preceding clauses are true. Thus, Match host !*.* exec "some_command %h" ... would always execute some_command regardless of whether the host matches the preceding pattern. That seems undesirable, particularly as the user-specified command may do name lookups or other operations that may introduce delays. Using a lazy approach, where the command is only exe...
2024 May 03
1
Get a copy of a matrix only for TRUE entries of a matching size boolean matrix?
...t;C" "D" > > mat_bools <- matrix(data=c(FALSE, TRUE, TRUE, FALSE), ncol=2, byrow=TRUE) > mat_bools > > [,1] [,2] > [1,] FALSE TRUE > [2,] TRUE FALSE > *Reminder:* The following is only an example ; the solution might look very > different. > some_command(mat_letters, mat_bools, false=empty) > [,1] [,2] > [1,] "" "B" > [2,] "C" "" > some_command(mat_letters, mat_bools, false=na) > [,1] [,2] > [1,] NA "B" > [2,] "C" NA > > > [[alternative HTML ve...
2009 Apr 27
3
[cucumber] Where does STDOUT go?
If one invokes a Ruby script from a cucumber step definition and that script contains "puts" statements then where does the output go? I have a script that when run from the command line displays "puts" output in the terminal session, but when run from a cucumber step definition produces no console output. It does however produce the expected output file in either case. --
2001 Jun 15
2
openssh 2.9p1: data loss when stdout sent to a pipe
We recently tried upgrading openssh from 2.5.2p2 to 2.9p1 and discovered that it no longer worked to feed the output from a remote command into a pipe, unless the output was short and the pipe was very fast at processing its input. Example 1: ssh remote_machine some_command | less (where "some_command" generates a lot of output) now fails after the first screenful, with a "Write failed flushing stdout buffer" message. Example 2: ssh remote_machine 'yes | head -2000' | (sleep 3 ; wc -l) With openssh 2.5.2p2 this correctly returns &quot...
2006 Jan 07
3
RailsCron 0.1 plugin
...RailsCron.create( :command => "Object.do_something()", :start => 2.minutes.from_now, :every => 12.hours, # default: 1.day :finish => 2.years.from_now # optional ) RailsCron.destroy_all RailsCron.find_by_command "some_command" Cron, when used with RoR, has the following shortcomings: * Significant startup resources required * Lots of RAM to run simultaneous processes * Hard to start/stop/affect the background processes from within Rails. RailsCron addresses these shortcomings by using one RoR instance with thre...
2008 Jan 17
2
Setenv missing
When I tried to use the setenv command to set the default text editor for subversion, I found it was missing how can I install it or enable it in CentOS 5 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080117/f78f52e5/attachment-0002.html>
2010 Jan 06
2
debugging package
I am trying to debug a package to submit it to CRAN and am getting a bunch of error messages. Most of the errors are because of the Rd files which were automatically populated by the package.skeleton function. I find the section on documentation to be pretty confusion in the R Extensions manual. Any help on getting these errors fixed would be hugely appreciated. Thanks. --Markus * checking for
2013 Jul 17
3
sudo add user script
Hello list, I took another stab at finding a way to add a sudo user remotely and it gets you most of the way there. If you execute the script as root it works beautifully and does just what you want. Which is add the user to the group and gives that user group rights to certain commands. But if you execute it as a user who only has sudo access to the /etc/sudoers file it errors out. cloud:~]