<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: non printable characters in all filenames in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/non-printable-characters-in-all-filenames/m-p/5174773#M50753</link>
    <description>&lt;!--!*#--&gt;&amp;gt; May 12, 2009 21:58:15 GMT   5 pts&lt;BR /&gt;&lt;BR /&gt;You have to wonder what would have gotten&lt;BR /&gt;more than half credit.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] files [...] have unprintable&lt;BR /&gt;&amp;gt; characters prepended and appended to the&lt;BR /&gt;&amp;gt; file names.&lt;BR /&gt;&lt;BR /&gt;More precisely, names is "ls" output have&lt;BR /&gt;[...].  The problem is with "ls", not with&lt;BR /&gt;the file names themselves.&lt;BR /&gt;&lt;BR /&gt;As usual, it would be helpful if you&lt;BR /&gt;described your environment in more detail.&lt;BR /&gt;In this case, what your terminal is would be&lt;BR /&gt;interesting.  Also, what your TERM variable&lt;BR /&gt;is.  If your stuff is configured properly,&lt;BR /&gt;then "ls" should not be sending the color&lt;BR /&gt;code strings to a terminal which doesn't&lt;BR /&gt;know how to interpret them.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; When using regexp's, or utilities like sed,&lt;BR /&gt;&amp;gt; when these file names are used the&lt;BR /&gt;&amp;gt; utilities will fail, because these&lt;BR /&gt;&amp;gt; characters are - it seems - interfering.&lt;BR /&gt;&lt;BR /&gt;"it seems"?  Did you try it?  Do you run "ls"&lt;BR /&gt;output into sed?  Does "ls" add the color&lt;BR /&gt;info when its output is not sent to the&lt;BR /&gt;user's terminal?</description>
    <pubDate>Tue, 12 May 2009 22:28:43 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2009-05-12T22:28:43Z</dc:date>
    <item>
      <title>non printable characters in all filenames</title>
      <link>https://community.hpe.com/t5/operating-system-linux/non-printable-characters-in-all-filenames/m-p/5174769#M50749</link>
      <description>I've discovered on recently delivered servers most ( if not all ) files on all filesystems and all LUNS ( local or SAN ) have unprintable characters prepended and appended to the file names.&lt;BR /&gt;&lt;BR /&gt;All new files, post delivery, also contain these unprintable characters.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;^[[00;34mOraInstall2009-03-16_04-20-42PM^[[00m&lt;BR /&gt;&lt;BR /&gt;Note:&lt;BR /&gt;&lt;BR /&gt;# ls -q&lt;BR /&gt;# ls -b&lt;BR /&gt;&lt;BR /&gt;Does not reveal the existence these characters.&lt;BR /&gt;&lt;BR /&gt;Note:&lt;BR /&gt;&lt;BR /&gt;The only way to reveal the characters embedded in the filenames is to, for example:&lt;BR /&gt;&lt;BR /&gt;# ls /etc &amp;gt; /tmp/tmp.txt&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;# cat -v /tmp/tmp.txt&lt;BR /&gt;&lt;BR /&gt;or vi the file /tmp/tmp.txt&lt;BR /&gt;&lt;BR /&gt;SIDE EFFECTS:&lt;BR /&gt;&lt;BR /&gt;When using regexp's, or utilities like sed, when these file names are used the utilities will fail, because these characters are - it seems - interfering.&lt;BR /&gt;&lt;BR /&gt;I don't know how this happened? &lt;BR /&gt;&lt;BR /&gt;Any guesses?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 May 2009 20:19:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/non-printable-characters-in-all-filenames/m-p/5174769#M50749</guid>
      <dc:creator>P_F</dc:creator>
      <dc:date>2009-05-12T20:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: non printable characters in all filenames</title>
      <link>https://community.hpe.com/t5/operating-system-linux/non-printable-characters-in-all-filenames/m-p/5174770#M50750</link>
      <description>I would like to add: the text in the files, is free of any unwanted nuisance characters.</description>
      <pubDate>Tue, 12 May 2009 20:21:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/non-printable-characters-in-all-filenames/m-p/5174770#M50750</guid>
      <dc:creator>P_F</dc:creator>
      <dc:date>2009-05-12T20:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: non printable characters in all filenames</title>
      <link>https://community.hpe.com/t5/operating-system-linux/non-printable-characters-in-all-filenames/m-p/5174771#M50751</link>
      <description>&lt;!--!*#--&gt;Those are just the color string to represent the files.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;# cd /etc&lt;BR /&gt;# ls -ld host* &amp;gt; /tmp/files&lt;BR /&gt;# cat -e /tmp/files&lt;BR /&gt;-rw-r--r--  1 root root  17 Jul 23  2000 host.conf$&lt;BR /&gt;-rw-r--r--  1 root root 201 Aug 17  2007 hosts$&lt;BR /&gt;-rw-r--r--  1 root root 160 Aug 26  2008 hosts.allow$&lt;BR /&gt;-rw-r--r--  1 root root 346 Aug 26  2008 hosts.deny$&lt;BR /&gt;&lt;BR /&gt;# ls -ld --color=always host* &amp;gt; /tmp/files&lt;BR /&gt;# cat -e /tmp/files&lt;BR /&gt;^[[00m-rw-r--r--  1 root root  17 Jul 23  2000 ^[[00mhost.conf^[[00m$&lt;BR /&gt;-rw-r--r--  1 root root 201 Aug 17  2007 ^[[00mhosts^[[00m$&lt;BR /&gt;-rw-r--r--  1 root root 160 Aug 26  2008 ^[[00mhosts.allow^[[00m$&lt;BR /&gt;-rw-r--r--  1 root root 346 Aug 26  2008 ^[[00mhosts.deny^[[00m$&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And I don't think that should mess with your regular expressions.&lt;BR /&gt;&lt;BR /&gt;Don't forget to assing points.&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 May 2009 20:58:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/non-printable-characters-in-all-filenames/m-p/5174771#M50751</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-05-12T20:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: non printable characters in all filenames</title>
      <link>https://community.hpe.com/t5/operating-system-linux/non-printable-characters-in-all-filenames/m-p/5174772#M50752</link>
      <description>solution posted at bottom</description>
      <pubDate>Tue, 12 May 2009 21:09:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/non-printable-characters-in-all-filenames/m-p/5174772#M50752</guid>
      <dc:creator>P_F</dc:creator>
      <dc:date>2009-05-12T21:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: non printable characters in all filenames</title>
      <link>https://community.hpe.com/t5/operating-system-linux/non-printable-characters-in-all-filenames/m-p/5174773#M50753</link>
      <description>&lt;!--!*#--&gt;&amp;gt; May 12, 2009 21:58:15 GMT   5 pts&lt;BR /&gt;&lt;BR /&gt;You have to wonder what would have gotten&lt;BR /&gt;more than half credit.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] files [...] have unprintable&lt;BR /&gt;&amp;gt; characters prepended and appended to the&lt;BR /&gt;&amp;gt; file names.&lt;BR /&gt;&lt;BR /&gt;More precisely, names is "ls" output have&lt;BR /&gt;[...].  The problem is with "ls", not with&lt;BR /&gt;the file names themselves.&lt;BR /&gt;&lt;BR /&gt;As usual, it would be helpful if you&lt;BR /&gt;described your environment in more detail.&lt;BR /&gt;In this case, what your terminal is would be&lt;BR /&gt;interesting.  Also, what your TERM variable&lt;BR /&gt;is.  If your stuff is configured properly,&lt;BR /&gt;then "ls" should not be sending the color&lt;BR /&gt;code strings to a terminal which doesn't&lt;BR /&gt;know how to interpret them.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; When using regexp's, or utilities like sed,&lt;BR /&gt;&amp;gt; when these file names are used the&lt;BR /&gt;&amp;gt; utilities will fail, because these&lt;BR /&gt;&amp;gt; characters are - it seems - interfering.&lt;BR /&gt;&lt;BR /&gt;"it seems"?  Did you try it?  Do you run "ls"&lt;BR /&gt;output into sed?  Does "ls" add the color&lt;BR /&gt;info when its output is not sent to the&lt;BR /&gt;user's terminal?</description>
      <pubDate>Tue, 12 May 2009 22:28:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/non-printable-characters-in-all-filenames/m-p/5174773#M50753</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-05-12T22:28:43Z</dc:date>
    </item>
  </channel>
</rss>

