LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 11:27 AM   #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, 02:38 PM   #2
genss
Member
 
Registered: Nov 2013
Posts: 741

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



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 11:16 AM
[SOLVED] reason for aborted escape sequence atlantis43 Programming 6 11-21-2013 07:02 PM
[SOLVED] unknown escape sequence Shao Lung Programming 2 04-28-2011 11:38 PM
unknown escape sequence: '\040' jiikka Linux - General 1 03-09-2009 07:48 AM
escape sequence help in C name_in_use450 Linux - General 6 07-01-2004 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:41 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
Open Source Consulting | Domain Registration