I've tried to design a filter that drops trailing spaces (if any) from an input line.<br><br>for example, I have an imput similar to "this is a test. " and convert it to "this is a test." I alredy tried using something like tr ' ' '??' but tr replaces all spaces =-/.<br><br>I'm only looking for an example in awk at the moment.<br><br>Thanks.<br>