how to display spaces and tabs using unix and the "cat" command
<p>I'm trying to figure out how to display the contents of a file through unix where the spaces and tabs are marked somehow. I know how to display the files with tabs (aka <code>cat -T filename</code>) but I've been trying to figure out how to show the spaces as well. <code>cat -A filename</code> doesn't work for me, and only replaces tabs with <code>^I</code> and places <code>$</code> at the end of the line. How can I utilize <code>cat</code> to print out a file with all tabs and spaces clearly marked?</p>