Displaying 1 result from an estimated 1 matches for "username_nous".
2012 Jul 25
3
manifest variable with sed - problem
Hello,
i have a problem in my sudo manifest file, because in the variable $name
comes sometimes usernames like user.lastname, but i need for sudo
(includedir */etc/sudoers.d/*) file names with no dots (like user_lastname).
I need a new variable, where is the dots change by underscores.
My first try was like this, but it isn''t working well.
$name_underscore = "`echo $name | sed