<?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: identifying any invalid char in a file. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/identifying-any-invalid-char-in-a-file/m-p/5083230#M49256</link>
    <description>it was a bug in the code in the c program.&lt;BR /&gt;&lt;BR /&gt;Wrong:&lt;BR /&gt;/* read one line from control file */&lt;BR /&gt;fgets(readbuf,MAXLNLEN+1,fd);&lt;BR /&gt;fclose(fd);&lt;BR /&gt;&lt;BR /&gt;Fixed:&lt;BR /&gt;/* read one line from control file */&lt;BR /&gt;fgets(readbuf,MAXLNLEN+2,fd);&lt;BR /&gt;fclose(fd);&lt;BR /&gt;</description>
    <pubDate>Sun, 09 Dec 2007 01:38:10 GMT</pubDate>
    <dc:creator>skt_skt</dc:creator>
    <dc:date>2007-12-09T01:38:10Z</dc:date>
    <item>
      <title>identifying any invalid char in a file.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/identifying-any-invalid-char-in-a-file/m-p/5083227#M49253</link>
      <description>1:-&lt;BR /&gt;&lt;BR /&gt;adedd03n:root [/opt/local/unix/eracc/var/eracc] ll ediemerg&lt;BR /&gt;-rw-------   8 root       sys              1 Dec  6 12:03 ediemerg&lt;BR /&gt;adedd03n:root [/opt/local/unix/eracc/var/eracc] cat ediemerg&lt;BR /&gt;kumarts&lt;BR /&gt;adedd03n:root [/opt/local/unix/eracc/var/eracc] od -cx ediemerg&lt;BR /&gt;0000000    6b75    6d61    7274    730a&lt;BR /&gt;          k   u   m   a   r   t   s  \n&lt;BR /&gt;0000010&lt;BR /&gt;&lt;BR /&gt;2:-&lt;BR /&gt;&lt;BR /&gt;adedd03n:root [/opt/local/unix/eracc/var/eracc] od -cx /opt/local/unix/eracc/var/eracc/ediemerg&lt;BR /&gt;0000000    6b75    6d61    7273    3130    0a00&lt;BR /&gt;          k   u   m   a   r   s   1   0  \n&lt;BR /&gt;0000011&lt;BR /&gt;adedd03n:root [/opt/local/unix/eracc/var/eracc] ll ediemerg&lt;BR /&gt;-rw-------   1 root       sys              9 Dec  6 12:00 ediemerg&lt;BR /&gt;adedd03n:root [/opt/local/unix/eracc/var/eracc] od -cx /opt/local/unix/eracc/var/eracc/ediemerg&lt;BR /&gt;0000000    6b75    6d61    7273    3130    0a00&lt;BR /&gt;          k   u   m   a   r   s   1   0  \n&lt;BR /&gt;0000011&lt;BR /&gt;adedd03n:root [/opt/local/unix/eracc/var/eracc] cat /opt/local/unix/eracc/var/eracc/ediemerg&lt;BR /&gt;kumars10&lt;BR /&gt;&lt;BR /&gt;I this scenario i am getting "invlaid control file format". It happens only to the use kumars10 and which have a 8 char while other working users have only 7 char user id, like kumarts.&lt;BR /&gt;&lt;BR /&gt;so i am looking for any hidden enrties or some thing which i am not able to identify and which could cause an error reported &lt;BR /&gt;&lt;BR /&gt; here is the binary i use to enable/disable the id.When enabled the control file (/opt/local/unix/eracc/var/eracc/ediemerg) occupies a particular user id and when disabled it become a blank line file with file size 1.&lt;BR /&gt;&lt;BR /&gt;here is the binary i use to enable/disable the id.&lt;BR /&gt;&lt;BR /&gt;adedd03n:root [/opt/local/unix/eracc/var/eracc] ll&lt;BR /&gt;total 2&lt;BR /&gt;-rw-------   1 root       sys              1 Dec  6 12:03 ediemerg&lt;BR /&gt;adedd03n:root [/opt/local/unix/eracc/var/eracc] cat ediemerg&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;adedd03n:root [/opt/local/unix/eracc/bin] file eracc&lt;BR /&gt;eracc:          PA-RISC1.1 shared executable dynamically linked&lt;BR /&gt;adedd03n:root [/opt/local/unix/eracc/bin] what eracc&lt;BR /&gt;eracc:&lt;BR /&gt;&lt;BR /&gt;I am not sure if that binary is some thing which HP supports or provided by HP.&lt;BR /&gt;&lt;BR /&gt;any suggetions would be appreciated.</description>
      <pubDate>Thu, 06 Dec 2007 18:48:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/identifying-any-invalid-char-in-a-file/m-p/5083227#M49253</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-12-06T18:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: identifying any invalid char in a file.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/identifying-any-invalid-char-in-a-file/m-p/5083228#M49254</link>
      <description>i have posted this to HP_UX forum .. any tips from Linux experts also welcome.</description>
      <pubDate>Thu, 06 Dec 2007 18:50:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/identifying-any-invalid-char-in-a-file/m-p/5083228#M49254</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-12-06T18:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: identifying any invalid char in a file.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/identifying-any-invalid-char-in-a-file/m-p/5083229#M49255</link>
      <description>Hi,&lt;BR /&gt;   Did u tried this command??&lt;BR /&gt;&lt;BR /&gt; #cat -v &lt;FILE name=""&gt;&lt;BR /&gt;The above command will be used to see the characters which are able to see by the human eye (i.e) when ur r doing cat &lt;FILE name=""&gt;&lt;BR /&gt; Especially the above command we used for finding the windows characters in a file eg:- ^M,^x...etc&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;Palani&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FILE&gt;&lt;/FILE&gt;</description>
      <pubDate>Fri, 07 Dec 2007 03:16:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/identifying-any-invalid-char-in-a-file/m-p/5083229#M49255</guid>
      <dc:creator>palaniappan.sp</dc:creator>
      <dc:date>2007-12-07T03:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: identifying any invalid char in a file.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/identifying-any-invalid-char-in-a-file/m-p/5083230#M49256</link>
      <description>it was a bug in the code in the c program.&lt;BR /&gt;&lt;BR /&gt;Wrong:&lt;BR /&gt;/* read one line from control file */&lt;BR /&gt;fgets(readbuf,MAXLNLEN+1,fd);&lt;BR /&gt;fclose(fd);&lt;BR /&gt;&lt;BR /&gt;Fixed:&lt;BR /&gt;/* read one line from control file */&lt;BR /&gt;fgets(readbuf,MAXLNLEN+2,fd);&lt;BR /&gt;fclose(fd);&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Dec 2007 01:38:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/identifying-any-invalid-char-in-a-file/m-p/5083230#M49256</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-12-09T01:38:10Z</dc:date>
    </item>
  </channel>
</rss>

