How do I find this?

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

How do I find this?

Post by alex.barylski »

I am using the following Linux command to attempt to locate some language codes in a application:

Code: Select all

grep --recursive -n '%%[A-Z_]%%' /opt/lampp/htdocs/*
The format of the language code is something like %%THIS_IS_A_LANGUAGE_CODE%%

Whats wrong with the regex above I don't seem to getting anything. :(
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Code: Select all

grep --recursive -n '%%[A-Z_]+%%' /opt/lampp/htdocs/*
Post Reply