Thank you all for the many kind replies. Many of you pointed out my mistake as did Oliver, which stems from a poor reading of the sed man page. I blindly looked for tab and found a table of backslashed characters and their equivalents. On second reading I discover that these are the output characters I will see replaced for these when I use the 'l' command with sed. This makes it quite clear why my string had the effect it did. Dispite this, there may be some usefulness in this information, dispite my original misunderstanding.
On Wed, 26 Nov 1997, Oliver Elphick wrote: > According to `man sed', only a few characters can be backslash-escaped, > and t is not one of them. On the other hand it is used for _output_ by > the l command within sed. > And this may allow me to deal with the hyphons at the end of the lines. I can do one pass through sed replacing new lines with \n, and then make another pass editing out all the '-\n'. I am still left with the problem of converting all the other '\n' strings back into newline characters. If I knew this, I could put that into the original search, so I'm left with trying to search for a newline. > Enclose an actual tab in the quotes; if you are typing it in and the > shell interferes, use `ctrl-v tab'. > The ctrl-v works fine for a tab, but I have no newline key on my keyboard, only an enter (which produces ^M when pressed after ctrl-v and the search fails). Is there a way to enter a character by giving its ascii value (in dos the alt key lets you enter the decimal value to get special keystrokes) instead of the keypress. I guess, more important to me, will I find the information I am looking for in the bash manpages? Thanks again for all the help, Dwarf -- _-_-_-_-_-_- _-_-_-_-_-_-_- aka Dale Scheetz Phone: 1 (904) 656-9769 Flexible Software 11000 McCrackin Road e-mail: [EMAIL PROTECTED] Tallahassee, FL 32308 _-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .