You're viewing old version number 1. - Current version

Use unix grep to conduct a web search on a static site

the web server code would have to execute the command-line program

grep -R --exclude-dir=versions "Test Post 8Apr2016 1130" . | grep "\.txt"

the search would start in document root.

check string to permit only alphanumeric, underscore, and hyphen. maybe the period.

From JR's : articles
41 words - 265 chars
created on - #
source - versions



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Nov 19, 2024 - 7:19 a.m. EST