I got a zip file from the government but it won't unzip properly

Michael Havens bmike1 at gmail.com
Thu Jul 25 17:14:59 MST 2013


how cool! there were instructions for importingit into excell and I thought
to myself that excell is merely a spreadsheet s I tried librecalc.
badabing, bada-boom.... it opened it!
:-)~MIKE~(-:


On Thu, Jul 25, 2013 at 3:24 PM, <kitepilot at kitepilot.com> wrote:

> do:
> sed -i -e 's/[[:space:]]*$//g' file-to-fix
> To get rid of '^M'.
> ET
>
> Michael Havens writes:
>
>> cool..... vi opens it. I do not see any '^@' characters but I see a lot of
>> '^M' characters. I see a few '@' characters. So I do not need to worry
>> about those characters.... only the non ascii ones?
>> :-)~MIKE~(-:
>>
>> On Thu, Jul 25, 2013 at 2:42 PM, Paul Mooring <paul at opscode.com> wrote:
>>
>>>  There's some null characters (look like ^@ in vim) in this file causing
>>> your problem, run `file -I <file_name>` and you'll see it's charset is
>>> binary.  I found some null chars on line 155 (grep for non-ascii
>>> characters
>>> to find them).  You can remove them with sed or tr and be on your happy
>>> way.
>>>
>>>  Paul Mooring
>>> Operations Engineer
>>> www.opscode.com
>>>  ------------------------------
>>> *From:* plug-discuss-bounces at lists.**phxlinux.org<plug-discuss-bounces at lists.phxlinux.org><
>>>
>>> plug-discuss-bounces at lists.**phxlinux.org<plug-discuss-bounces at lists.phxlinux.org>>
>>> on behalf of Michael Havens <
>>> bmike1 at gmail.com>
>>> *Sent:* Thursday, July 25, 2013 2:09 PM
>>> *To:* plug-discuss at phxlinux.org
>>> *Subject:* I got a zip file from the government but it won't unzip
>>>
>>> properly
>>>  It seems to unzip fine but the document that opens freezes libre writer
>>> and when I try to open it with a  text editor it complains about
>>> encoding.
>>> here is the file:
>>>  https://www.dropbox.com/s/**q5x24uzhyrv3mo1/az-foiarefund-**list.zip<https://www.dropbox.com/s/q5x24uzhyrv3mo1/az-foiarefund-list.zip>
>>>  Any ideas how to open it?
>>> :-)~MIKE~(-:
>>> ------------------------------**---------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.**org<PLUG-discuss at lists.phxlinux.org>
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>>>
>> ------------------------------**---------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.**org<PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20130725/8c45e19f/attachment.html>


More information about the PLUG-discuss mailing list