Re: .bash_history

From: C. Chad Wallace (cwallace_at_thelodgingco.com)
Date: 11/22/05

  • Next message: David R. Litwin: "Re: touchpad don't work at startup"
    Date: Mon, 21 Nov 2005 18:38:24 -0800
    To: debian-user@lists.debian.org
    
    

    Stephen Rueger wrote:
    > Adam Hardy <adam.ant@cyberspaceroad.com> writes:
    >
    >>This used to work until recently when I found that the .bash_history had
    >>been transformed into a data file, instead of the ASCII text that I was
    >>used to.
    >
    > How exactly did you find that out? If it's merely because grep says
    > something like "binary file .bash_history matches", chances are that
    > its rather stupid binary file detection screwed up again.
    >
    > So, what does looking at it with a pager show? And what does file(1) report?

    I just ran into this as well... file reported it as "data". Upon viewing it in less, I found that it had a whole bunch of nulls (^@ is null, right?) in it. I don't know where those would have come from...

    -- 
    C. Chad Wallace, B.Sc.
    The Lodging Company
    http://skihills.com/
    OpenPGP Public Key ID: 0x262208A0
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: David R. Litwin: "Re: touchpad don't work at startup"

    Relevant Pages

    • Re: Best Way to Word This Sentence?
      ... "Every project must have a data file. ... "Every project must have a data file in a raw ASCII text format." ...
      (alt.usage.english)
    • Re: Reading a special file
      ... business basic file into ASCII within Delphi. ... Note it will treat it as simply bytes of data and with the chunks ... sections and then covert that section as needed. ... business basic data file as you have stated nothing about what the file ...
      (alt.comp.lang.borland-delphi)
    • Re: EBCDIC to ASCII
      ... Is it possible to change the charset of a data file (i.e., ... to ASCII)? ... You could code an inspect/converting with both charsets in hex notation. ...
      (comp.lang.cobol)
    • Re: help,how to convert a binary data file to ascii one?
      ... David Frank wrote: ... >> I just got a data file in binary format and want to convert them ... >>ascii text file. ...
      (comp.lang.fortran)
    • Re: help,how to convert a binary data file to ascii one?
      ... > I just got a data file in binary format and want to convert them ... > ascii text file. ...
      (comp.lang.fortran)