Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 33606

Replacing is the action of searching a string for a sub-string and replacing it with a different string.

2 votes
1 answer
377 views

How can I construct a bash-safe filename from a string?

Should I use replace-regexp-in-string with appropriate regexp (that I have trouble building) or is there a more canonical way ? … Non comprehensive specification list : remove spaces (replace with underscore) only alphanumeric ascii characters (no symbols, no other unicode...), the rest is deleted (if possible) intelligent replacement …
B. Pillet's user avatar
2 votes

How can I construct a bash-safe filename from a string?

I found a melpa package which does just that and properly : unidecode (unidecode-sanitize "Une idée nouvelle pour calculer $\\int_0^{\\infty} e^{t^2} \\dd t$") "une-idee-nouvelle-pour-calculer-int0i …
B. Pillet's user avatar