Search Results

Search: Posts Made By: phoenixjc
2,461
Posted By phoenixjc
Ahh, that I didn't look for. The file I am...
Ahh, that I didn't look for. The file I am editing has over 5000 lines so I don't think that I would be able to catch it.
I will try piping like you recommend there and let you know.
Thanks!
...
2,461
Posted By phoenixjc
I have tried the adjusted code but have not had...
I have tried the adjusted code but have not had any luck on my test files. It doesn't seem to be doing the editing, but it does appear to go through the file.
If you could explain what each item is...
2,461
Posted By phoenixjc
That looks like it is on the right track. I...
That looks like it is on the right track. I tried it with a couple test files, but it didn't do what it was supposed to.
I think you may need a bit more info about the file. After each : there is...
2,461
Posted By phoenixjc
That is very close, but to avoid issue I am...
That is very close, but to avoid issue I am probably going to have file 2 as:
id1: alias1@domain.com
I want to avoid any possibility that we would accidentally edit a distribution list which may...
2,461
Posted By phoenixjc
Script for replacing text in a file based on list
Hi All,
I am fairly new to the world of Unix, and I am looking for a way to replace a line of text in a file with a delimited array of values.
I have an aliases file that is currently in use on our...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 08:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy