# How to use the ul command line utility

I wanted to answer http://unix.stackexchange.com/questions/3043/use-roff-to-underline-words with "just use ul, this command is meant specifically for underlining text", however I just can't grasp how to use it. I thought

$echo "hello _kitty_ world" > /tmp/foo.txt$ ul /tmp/foo.txt


would give me an underlined "kitty", however it doesn't. What am I doing wrong?

-

echo \$'hello k\b_i\b_t\b_t\b_y\b_ world' | ul

@echox: for the non-Germanophones in the audience, that's Ctrl+V. And a handier way is Ctrl+V Ctrl+H (Ctrl+V Backspace may or may not give the right character depending on your terminal configuration.) –  Gilles Oct 12 '10 at 22:13