search for: doublequotes

Displaying 11 results from an estimated 11 matches for "doublequotes".

2012 Dec 04
14
custom define type for array with 'case' argument pass to it
I am trying to write a define type which will use an array but in the meantime have an argument pass to it that sets a case. See for example : define link_files ($linkcase) { case $linkcase { "var" : { file { "${name}_exelink" : path => "/var/log/puppet/${name}_log", ensure => link,
2006 Feb 18
2
Extracting URL and text from HTML?
For an application I am working on I have to extract URLs and the text used to link. For example, ..... <a href="http://www.rubyonrails.org" title="rails" >Ruby on Rails</a>.... I have been trying all night but cannot come up with the regular expression needed to extract the URLs and the text. I have tried:
2006 Feb 10
4
How to do a find with conditions that contain an OR
Hi, I''m trying to do a find with a condition that has an OR on the same column. Say I only want to use find() but not find_by_sql(). I reduced my problems into the following: values = [] ... # filling up values from params Order.find(:all, :conditions => ["(action = ? OR action = ?) AND price = ?", values] For example I
2013 Jan 20
3
(New To Puppet)Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class sudo for pupclient on node pupclient
Hello Folks! I am trying to learn puppet. Installed the puppet 3.0.2 and configured one node as the master and the other as the client. Generated the certs and all that. But, I seem to be doing something wrong wrt to the init.pp file. Attached is exact error and my current server configuration. Any help in helping me fix this issue is appreciated: *[root@pupclient ~]# puppet agent --test*
2003 Oct 12
0
idea (and patch): connection cookies
I have an idea for a protocol extension to limit the exposure of the complex crypto code in ssh servers. It's like tcp-wrappers, but based on a secret token rather than IP address. Patch against openssh-3.7.1p2: http://nick.cleaton.net/openssh-cc-0.03.patch Details ======= The "Connection Cookies" mechanism is an unofficial ssh protocol extension designed to prevent attackers
2023 May 28
1
command [argument ...] in ssh(1): a footgun
...fect you want; the first backslash is eaten by the > local shell. Perhaps that depends on the local shell. It works with zsh. Testing with dash would probably be better. That works too. I think you might be wrong. I think the slash would only be eaten by the local shell if it weren't inside doublequotes. > > ssh user at host "ls -l 'a b'" > > But you could also just do: > ssh user at host ls -l \'a b\' > > Only if it?s more than one space, or different whitespace, > does this come into effect. That wasn't one of my examples. That wouldn...
2023 May 27
2
command [argument ...] in ssh(1): a footgun
On Sat, 27 May 2023, raf wrote: >So, perhaps this could be added to the existing >sentence/paragraph: > > "so any spaces in individual arguments must be Must they? No, a single space will do just fine. > quoted using the syntax of the destination > user's login shell". ? keeping in mind the source shell?s quoting as well. >If an example were needed,
2007 Jan 17
3
http://www.net-dns.org/ and perl-Net-DNS-0.48-1 upgrade direction needed
Greetings :-) On this particular production centos 4 mail server system if I rpm -qa | grep perl I get... perl-Filter-1.30-6 newt-perl-1.08-7 perl-DateManip-5.42a-3 perl-libwww-perl-5.79-5 perl-XML-Encoding-1.01-26 perl-Time-HiRes-1.55-3 perl-URI-1.30-4 mod_perl-1.99_16-4.centos4 perl-HTML-Tagset-3.03-30 perl-Parse-Yapp-1.05-32 perl-XML-Parser-2.34-5 perl-XML-Dumper-0.71-2
2012 Nov 01
7
Install RPM package via puppet
I am trying to get a package (iftop) installed on a test node using puppet but I can''t get it to install. This seems like it should be simple, but I can''t figure out what I am missing. Have done a lot of searching for similar problems and the answers I found seem to be vague in the details and explanation. I have the package added to an internal yum repo. OS is Centos 5.4.
2013 Oct 09
0
[PATCH 0/1] Porting klibc to arm64
Hi Neil / Thorsten, The full test result is attached. Thanks and Regards, Anil ------------------------------------------------------------------------------------------------------------------------------- root at genericarmv8:~/anilss/AArch64/mksh_44-1/mksh# ./mksh test.sh -p $PWD/mksh Testing mksh for conformance: # $MirOS: src/bin/mksh/check.t,v 1.599 2013/02/24 14:22:41 tg Exp $
2013 Oct 09
2
[PATCH 0/1] Porting klibc to arm64
On Wed, 9 Oct 2013 10:44:27 +0000 (UTC) Thorsten Glaser <tg at mirbsd.de> wrote: > Anil Singhar dixit: > > >Manual testing as provided within the package has been done with all > >tests passing. This includes the units tests available under > >usr/klibc/tests, usr/utils, usr/dash and usr/gzip. For dash and > >gzip, only sanity testing has been done. > >