Re: .bash_history

From: Stephen Rueger (stephen.rueger_at_rechnerpost.org)
Date: 11/22/05

  • Next message: C. Chad Wallace: "Re: .bash_history"
    To: debian-user@lists.debian.org
    Date:  Tue, 22 Nov 2005 02:06:47 +0100
    
    

    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?

    -- 
    Stephen Rüger
    stephen.rueger@rechnerpost.org
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: C. Chad Wallace: "Re: .bash_history"

    Relevant Pages

    • Re: Character set conversoin headaches
      ... I am attempting to transfer a binary file for my pc to a uss file and ... ascii they get translated to '0D0A'. ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
      (bit.listserv.ibm-main)
    • Re: How to read a Hexadecimal file ?
      ... That is NOT hexadeciaml data ... it's not data represented in ASCII. ... binary file, neither ASCII nor hexadecimal. ... character set), ...
      (comp.lang.c)
    • Re: how to determine a file is ASCII or binary?
      ... > Since the OS look both ASCII and binary file as a sequence of bytes, ... > there any way to determine the file type except to judge the extension? ... Whether a file is binary or ASCII is an attribute of the ... C++ Faq: http://www.parashift.com/c++-faq-lite ...
      (comp.lang.c)
    • Re: Does sending a binary file over TCP need special treatment?
      ... think suspecting that binary file transfers may need special treatment? ... binary file, or even if the bytes came from any type of file at all. ... FTP provides special treatment only when in ascii mode. ...
      (comp.os.linux.networking)
    • Re: how to determine a file is ASCII or binary?
      ... There's no "ASCII" in C. ... the operating system might do something to the data as it is written to the ... In that case, the encoding needs to ... > Since the OS look both ASCII and binary file as a sequence of bytes, ...
      (comp.lang.c)