hey, I need a bit of help using the command sed
what I want to do is include in a script a line which changes the umask inside of a user's .bashrc
from some searching, I think i'm 90% of the way there with:
grep umask .bashrc | sed 's/$1/umask 027/g' .bashrc
obviously the above doesn't work. So, how do I get sed to recognize the piped output of grep and include it in a replace?