I'm trying to replace a field with the proper value but I can't figure out how to do a blanket substitution. Here is what I have so far.
sed -i '' 's/AuthUserName=\[7000-8000]/AuthUserName=7325/g' "$f"
I'm trying to search all the files that contain AuthUserName=7000-8000
and make them all say AuthUserName=7325
. I can do it individually by just having the AuthUserName=7000
for example and it will replace it with 7325 but I can't figure it out.
I tried to use =* but no success. Can anyone help me out? Thanks in advance.