<div dir="ltr">You can&#39;t type the special characters. They&#39;re interpreted as plain characters. You need to insert the special character codes themselves.<div><br></div><div>i.e. for \t, hit the tab button on your keyboard.</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 11, 2017 at 4:54 PM Jeevanandha Ramanathan &lt;<a href="mailto:jramana1@stevens.edu">jramana1@stevens.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">I am trying to create a file with special characters, using </div><div class="gmail_extra"><br></div><div class="gmail_extra"><font face="garamond, serif">touch &#39;foo\n&#39;  &#39;foo\t&#39;  &#39;foo?&#39; </font></div><div class="gmail_extra"><br></div><div class="gmail_extra">but listing the files using ls command, displays </div><div class="gmail_extra"><br></div><div class="gmail_extra"><font face="garamond, serif">foo\n foo\t foo?.</font> </div><div class="gmail_extra"><br></div><div class="gmail_extra">I expect it to be </div><div class="gmail_extra"><br></div><div class="gmail_extra"><font face="garamond, serif">foo? foo? foo?</font></div><div class="gmail_extra"><font face="garamond, serif"><br></font></div><div class="gmail_extra"><font face="arial, helvetica, sans-serif">Am I missing something here?</font></div><div class="gmail_extra"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_extra"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_extra"><br><div class="m_-2414703064483358601gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><font color="#134f5c">Thank you.</font><div><font color="#134f5c"><br></font></div><div><font color="#134f5c">Kind regards,</font></div><div><font color="#134f5c">Jeeva</font></div><div><font color="#0c343d"><br></font></div><div><font color="#444444">----------------------------------------------------</font></div><div><font color="#444444">Jeevanandha Ramanathan</font></div><div><font size="1" color="#444444">Stevens Institute of technology<br></font></div><div><font color="#444444"><font size="1">CS Graduate Student</font></font></div><div><font color="#444444">email: <a href="mailto:jramana1@stevens.edu" target="_blank">jramana1@stevens.edu</a></font></div><div><br></div></div></div></div>
</div></div>
_______________________________________________<br>
cs631apue mailing list<br>
<a href="mailto:cs631apue@lists.stevens.edu" target="_blank">cs631apue@lists.stevens.edu</a><br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs631apue" rel="noreferrer" target="_blank">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
</blockquote></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Jason Ajmo</div><div>Stevens Institute of Technology</div><div>B.S. Cybersecurity &#39;17</div><div>M.S. Computer Science &#39;18</div><div>0x56FA3123</div></div></div>