[NTLUG:Discuss] Need help debugging simple script commands
Rev. wRy
slot0k at pogox.org
Wed Jul 31 22:45:59 CDT 2002
On Wed, 2002-07-31 at 22:37, Rick Matthews wrote:
> That confirms for me that the problem is trash in the data. As I
> mentioned earlier, each time I've found trash I've added a step to
> clean out that problem. So far it's blank lines, trailing spaces and
> trailing tabs. Can anyone tell me how to clean the file of all
> characters that are invalid in a domain name?
man sed? It's hard to tell what your garbage is without seeing it.
You might post an example of your files (showing garbage) to
comp.unix.shell - they seem to enjoy a good sed challenge. :)
Ry
More information about the Discuss
mailing list