search for: backtick

Displaying 20 results from an estimated 228 matches for "backtick".

Did you mean: backticks
2007 Aug 08
2
Backtick Hickup
I'm using Michel Fortin's MDTest cases to rewrite my html2text.php script. Just now I stumbled upon this bug (in PHP Markdown at least): # Input: Backtick: ``\``` # Output: <p>Backtick: ``&#96;``</p> # Should-Be Output: <p>Backtick: <code>`</code></p> If you (Michel) are already aware of this, just ignore me ;-) -- Milian Wolff http://milianw.de
2006 Dec 30
4
Escaping inside code blocks?
I am doing unit-tests for Maruku and every once in a while I run into some doubts. I am posting a lot to the list, but all of these messages should be in-topic (tell me if not). Consider the input: --- `There is a literal backtick (\`) here.` `There is a literal backtick (\\`) here.` ``There is a literal backtick (`) here.`` --- The documentation says that line 2 and 3 are equivalent. (http://maruku.rubyforge.org/markdown_syntax.html#code) But this is Markdown.pl's result: --- <p><code>There is a literal...
2006 Dec 04
1
backticks
I noticed just now that package.skeleton() produces R files in which the function names are escaped with backticks. ?Quotes says that "The preferred quote is the backtick (`)", but I don't understand _why_ this is preferred. ?formula gives some clues but points out that there are no guarantees that formulae using non-syntactic names such as `like this` will be accepted. What exactly do backti...
2007 Oct 09
5
Backticks wrapping SQL values in polymorphic associations...
....attachments yields this SQL error: ActiveRecord::StatementInvalid: Mysql::Error: Unknown column ''Part'' in ''where clause'': SELECT * FROM attachments WHERE (attachments.attachable_id = 1375 AND attachments.attachable_type = `Part`) If I change the backticks to single quotes it runs fine in MySQL. But... why are there backticks? Is that per design? Is there something wrong with my MySQL install? (MySQL version 5.0.37, InnoDB format) Any ideas? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You recei...
2009 Jul 30
3
update.formula and backticked colons
I just noticed the following in update.formula and I'm wondering if this behavior is the intention of the developers. Here's an example: update(`a: b` ~ x, ~ . + y) Note now that the response has no backticks and is interpreted as a:b (i.e. ":" is now an operator). This is because in update.formula the call to terms.formula uses simplify = TRUE. I'm working with data that has a lot of colons in their names and for reporting purposes I don't want to use make.names to avoid this situati...
2010 Aug 17
1
prompt () and backticks for default arguments
Dear all, I just noticed, that prompt () looses backticks that protect default arguments: f <- function (FUN = `*`) {} cat (prompt (f, NA)$usage) yields: \usage{ f(FUN = *) } %- maybe also 'usage' for other objects documented here. without the backticks, which is of course found by R CMD check as syntax error. While this is easily fixed if...
2023 Mar 01
1
tab-complete for non-syntactic names could attempt backtick-wrapping
...ping 'x$a') The auto-complete mechanism will fill the buffer like so: x$a b This is not particularly helpful because this is now a syntax error. It seems to me there's a simple fix -- in utils:::specialCompletions(), we can wrap the result of utils:::specialOpCompletionsHelper() with backticks for non-syntactic names ([1]): comps <- specialOpCompletionsHelper(op, suffix, prefix) if (length(comps) == 0L) comps <- "" +non_syntactic <- make.names(comps) != comps +comps[non_syntactic] <- paste0("`", comps[non_syntactic], "`") sprintf("%s%s%s&q...
2018 Apr 23
4
R 3.5.0 fails its regression test suite on Linux/x86_64
...t( | > NULL, NULL), x = c(7, 21, 28, 35, 14, 42, 49), uplo = "U", | > diag = "N") | > --> checking list(*): Ok | > --=--=--=--=-- | 1048c1260,1261 | < 2: In dput(x, control = control) : deparse may be incomplete | --- | > 2: In deparse(expr, backtick = backtick, control = control, ...) : | > deparse may be incomplete | 1051c1264,1265 | < 4: In deparse(expr, backtick = backtick, control = control, ...) : | --- | > 4: In dput(x, control = control) : deparse may be incomplete | > 5: In deparse(expr, backtick = backtick, control...
2023 Mar 01
1
tab-complete for non-syntactic names could attempt backtick-wrapping
...gt; > ? Wed, 1 Mar 2023 01:36:02 -0800 > Michael Chirico via R-devel <r-devel at r-project.org> ?????: > > > +comps[non_syntactic] <- paste0("`", comps[non_syntactic], "`") > > There are a few more corner cases. For example, comps could contain > backticks (which should be escaped with backslashes) and backslashes > (which should also be escaped). Thankfully, \uXXXX-style Unicode escape > sequences are not currently supported inside backticks, and "escape the > backslash" rule already takes care of them. > > The deparse() fu...
2006 Dec 30
3
problems with escaping backticks
I can't escape backticks if on a line with other code: $ echo 'maybe use `fixed face` for `/path/to/file` by using \`back ticks\` around it' | /usr/pkg/bin/Markdown <p>maybe use <code>fixed face</code> for <code>/path/to/file</code> by using \<code>back ticks\</code> ar...
2018 Apr 23
0
R 3.5.0 fails its regression test suite on Linux/x86_64
...8, 35, 14, 42, 49), uplo = "U", > | > diag = "N") > | > --> checking list(*): Ok > | > --=--=--=--=-- > | 1048c1260,1261 > | < 2: In dput(x, control = control) : deparse may be incomplete > | --- > | > 2: In deparse(expr, backtick = backtick, control = control, ...) : > | > deparse may be incomplete > | 1051c1264,1265 > | < 4: In deparse(expr, backtick = backtick, control = control, ...) : > | --- > | > 4: In dput(x, control = control) : deparse may be incomplete > | > 5: In depars...
2007 Oct 08
5
Flat code block syntax
...tage: ugly? > > Ugly indeed. What I've seen used for that is a line of dash: ----, > but that would trigger a horizontal line and I don't feel like > overriding that. Dashes are also used by Setext headers. Though not visually appealing, are there any (technical) thoughts on backticks (which are currently used for <code>)? `` "Hello, code!" `` What about colons? :::::::: "Hello, code!" :::::::: Bruce Phillips
2006 Apr 17
7
MySQL backticks and column names
..._name} (#{Array(column_name).map{ |e| "`#{e}`"}.join(", ")})" And the problem went away. Is this just a MySQL issue or would the problem be common across all databases? I would like to submit a patch for this if I can. Are there other places that would benefit from backticks to avoid problems which occur because key words are used as table or column names? -- John Long http://wiseheartdesign.com
2010 Jun 17
1
Rails won't execute backticked OS commands
I''m at a loss as what to look for... I can issue a command result = `some_os_command_string` on my dev system just fine in both a pur ruby test file, and from Rails in dev mode. When I push that code to my server, the backtick command doesn''t work. No failure message -- even if I wrap it in begin/rescue so I have no specific clues to work from. I can run that same back ticked command on the server from a simple ruby test file, but not from Rails. Any ideas what I could look for as to why Rails might be interfe...
2011 Feb 13
1
Should leading and trailing spaces between backticks be preserved?
...) >>> md.convert('Added `>>> ` to signify user input.') u'<p>Added <code>&gt;&gt;&gt;</code> to signify user input.</p>' According to Waylan, all but one of the Markdown implementations drop the trailing slash within the backticks. This seems wrong to me. I don't buy the argument that since default browser behaviour is to ignore this space, the space is insignificant and can be omitted from the markup generated. This is akin to arguing that lossy compression of audio files is fine since default (i.e. iPod/iPhone) headph...
2008 Feb 18
0
Pulling a variable from a shell script into Asterisk - backticks?
Hi, Is anyone still using backticks on 1.4? Or is there another way to pull a variable from a shell script into Asterisk 1.4? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080218/bd9a92f8/attachment.htm
2004 May 12
1
Change default values of a function
...ons from a library and because I don't think is appropriate to change the library, I am trying to change the default value in deparse(). At the moment the only solution I have come across is to place a function in my working environment like this, deparse <- function(expr,width.cutoff=400,backtick=mode(expr) %in% c("call","expression","("),...) deparse(expr,width.cutoff=400,backtick,...) I only want to change the width.cutoff of the function and I wonder of there is any more elegant way to do it. regards, Jesus --------------------------------------------...
2006 Jan 16
1
Newbie: undefined method (backtick)body(quote) equals error
...it working so a user can set the range of responses for a given question, but when trying any of the CRUD operations on the responses side, I get a cryptic error, to which I see no reference to online. Thanks for any tips that may clear this up for me... -Bill error text: undefined method (backtick)body=(quote) for #<Response:0x3828a78> RAILS_ROOT: ./script/../config/.. e:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1498:in `method_missing'' e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:694:in `erase_render_resul...
2013 Jun 25
2
how to run backtick in erb file
...nt something like this in my puppet template (erb file) the logic i am trying to do is : sssd_count=`rpm -qa | grep ''sssd'' | wc -l` <% if sssd_count =2 -%> session optional sss.so <% else %> session optional pam_ldap.so <% end -%> but the backtick does not work.. or i am unable to store the expected value in to sssd_count is there any other way to perform this task ?? I will be really grateful if i can get some help .. Thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group....
2020 Aug 05
4
Deprecation of scp protocol and improving sftp client
It seems that there are a few camps here: * The scp power users - this camp believes that scp supporting backtick notation is fine and that running arbitrary commands is a perfectly fine thing to do. * The restricted shell users - this camp believes that scp supporting backtick may not be the best, and there are various restricted shells which can prevent this. Power users may belong to this camp. * The novice...