Software :: Backslash In Pcre On C ?

Feb 11, 2010

In pcre manual, to use a backslash to escape a special character. But in fact, it is need to use double (\) backslashes to do escape for a pcre program on linux C,why?

View 5 Replies


ADVERTISEMENT

Server :: Update PCRE On CentOS ?

Jul 3, 2011

I'm having trouble updating PCRE library on my web server. Even though pcretest -v show 6.6 it still showing PCRE 8.10 on my working devserver. But our live server shows PCRE 6.6

I'm not sure what I should be updating here. PHP, HTTPD or PCRE ?

View 1 Replies View Related

General :: Using Grep With Pattern File And PCRE

Sep 25, 2010

I would like to write a newline delimeted rules file using PCREs for use with the grep command. Grep has the option -f to obtain the search pattern from a file, and option -P to search using PCREs. However, these two options do not work together. The -f option only seems to work with fixed string rules.A friend previously helped me get around this limitation somehow, but I can't remember how he did it. I also would like the ability to add comments at the end of each rule in the file.

View 11 Replies View Related

Fedora :: Install Php Zip Extension - Error: Pcre™ Undeclared

Oct 27, 2010

i'm trying to install php zip extension through pecl, issuing the following command pecl install zip but i'm getting the following error:

[code]...

View 3 Replies View Related

Software :: Use Regex Or Pcre To Find Out The Matched From Multiple Textfiles?

Feb 7, 2010

I am trying to use regex or pcre to find out the matched from multiple textfiles. how to write a relative program on linux C?

View 3 Replies View Related

Ubuntu :: Can't Type The Backslash Character (nor The Pipe)

Dec 9, 2010

I'm a UK based user and using a standard UK keyboard (Coleman based layout I think) although I have a backslash (to the left of the "Z", I can't type the character in any application. This is very frustrating when typing FQDNs amongst other things. How can I enable the backslash key for use with UK keyboard layouts. BTW I have tried all of the UK keyboards suggested in the keyboard layout dialogue

View 2 Replies View Related

Ubuntu :: Cannot Delete File With Backslash In Filename

Feb 6, 2011

Ubuntu 10.04 Guest in VirtualBox

I'm trying to delete a file called

Code:
springlobby_config.h

I've tried:

Code:
rm -i *

which gives me:

Code:
rm: cannot remove `springlobby_config\.h': No such file or directory

Tried to rename it:

Code:
mv * abc

which gives me:

Code:
mv: cannot stat `springlobby_config\.h': No such file or directory

I don't think it's a permissions issue because usually the terminal would say permission denied, but perhaps I'm wrong.

View 9 Replies View Related

General :: Backslash Preceding A Shell Command

Mar 21, 2011

Reading a BASH script, I saw a find command preceded with a backslash. It was similar to this:

Code:
`find . -type f -name '*.xml' -print > xmlfilelist`

It's impossible to find documentation about this in man pages or on the internet, since 'backslash' are always evoked along with special characters. I also noticed that even though the command was surrounded with backquotes, the result was not affected to any variable. Maybe the backslash's presence is related with this?

View 2 Replies View Related

Programming :: Sed Strange Behaviour With Line Including Backslash?

Jul 1, 2010

I have a small script that takes input from one file, and uses this input to do a find/replace (with sed) to make an executable snmp trap.The input file could look something like this :JOHBURG SOUTH AFRICAOSLO NORWAY..etcThe script takes the input from this file, and preserves all words in one line as a variable (so that the variables are "JOHBURG SOUTH AFRICA" and "OSLO NORWAY", instead of JOHBURG, SOUTH, AFRICA, OSLO, NORWAY.This is working ok (in the given example, I get two variables).sed is supposed to take this variable, and use it to substitute "HITME" with the new variable.

#!/bin/bash
N=0
cat tutticodes | while read LINE

[code]....

View 21 Replies View Related

Programming :: Sed Bash Command - Not Print Backslash In Perl

Jul 11, 2010

This pretend to be a script for rename a lot of files automatically. So I put the list of files in an array named @lista. But, as you can see, at the end of the command I use a sed filter to print out a backslash for those files that have spaces in their names, so the path for those files could be rightly interpreted.

But there's no way I could print a backslash. It works well when I use the Perl's sed substitution s///, but I need every path in the array to be fixed.

I'd like to add that the bash command works perfectly well alone. I mean outside the Perl script.

This is de command line with the sed filter:

Code:

And this is what it brings:

Code:

View 12 Replies View Related

General :: Ubuntu Incorrectly Maps Backslash And Pipe Keys?

Mar 7, 2011

I am having what I think is a slightly weird problem with the way some of my keys on my keyboard are mapped. When I try entering the "backslash" keys i get < and for the pipe key i get >. I have tried going through the keyboard layouts and trying other combinations but to no avail

System info
ASUS G51VX
Keyboard: Standard
Ubuntu 10.04 LTS the Lucid Lynx - released in April 2010 and supported until April 2013.

View 5 Replies View Related

Ubuntu :: Keyboard Number Keys On The Right Side - Including Backslash - Plus - Minus Stopped Working And Mouse

Mar 23, 2011

1) Keyboard number keys on the right side, including backslash, plus, minus, etc. stopped working. The rest of the keyboard seems okay. It's not just this keyboard, either, because I plugged in my other keyboard and it has the same problem.

2) My mouse seems to have an intermittent problem in which it stops working for a few seconds or a minute. I can move it around the screen but I'm not able to click on anything. Sometimes if I wait long enough, it returns to normal. If I logout using the keyboard commands and log in again, it seems okay, at least until the next occurrence.

I'm running 10.04 LTS Lucid Lynx. I installed a kernel update a couple of weeks ago (2.6.32-29) but I've gone back to -28 in the hope that it would solve the problem. It has not. Is there a software package I need to reinstall or some other way to revert keyboard and mouse settings to defaults?

View 4 Replies View Related

Fedora :: Why Can't Do "make Install" Of Pcre On 11

Feb 5, 2010

When I install pcre on fedora 11, the configure and make operation goes smoothly, but can't do "make install".

View 7 Replies View Related

General :: Getting Backslash+space Instead Of Just Space?

Jul 26, 2010

I just mounted my drobo(NTFS) on my slackbox using NTFS-3g, and I can read all my files and see them all, but any file name with a space in it turns into EX: (File Name)... instead of (File Name)I am worried that my Sync software will not recognize the name.Does anyone have any tips Except to not put Spaces in the names of files?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved