LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2014, 12:27 PM   #1
coalDik
LQ Newbie
 
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
Escape sequence?


I have an AIDE policy file that specifies files with the wildcard '/root/\..*'

Basically the policy is trying to specify an action for all backup files at root (i.e. .bashrc)

Is the '\.' after root an escape sequence of some kind?

Thanks for any clarification.
 
Old 12-18-2014, 03:38 PM   #2
genss
Member
 
Registered: Nov 2013
Posts: 739

Rep: Reputation: Disabled
idk about AIDE,
but a dot in regex means "any single character"
so it has to be escaped when referring to an actual dot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen escape sequence djkadu Linux - General 4 10-03-2014 12:16 PM
[SOLVED] reason for aborted escape sequence atlantis43 Programming 6 11-21-2013 08:02 PM
[SOLVED] unknown escape sequence Shao Lung Programming 2 04-29-2011 12:38 AM
unknown escape sequence: '\040' jiikka Linux - General 1 03-09-2009 08:48 AM
escape sequence help in C name_in_use450 Linux - General 6 07-01-2004 10:23 AM


All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration