开发者

What does --ascii option do for zip command?

开发者 https://www.devze.com 2023-03-10 07:25 出处:网络
In Mac OS X 10.5, $ man zip shows -a --ascii [Systems using EBCDIC] Translate file to ASCII format. and Info-ZIP16 June 2008 (v3.0)ZIP(1L)

In Mac OS X 10.5,

 $ man zip

shows

  -a
    --ascii
           [Systems using EBCDIC] Translate file to ASCII format.

and

 Info-ZIP                      16 June 2008 (v3.0)                      ZIP(1L)

What does it mean?

If I want to revision control som开发者_JS百科e .zip files using git and hg, what options should I consider using with zip command?


As the description says, it's only for computers that use EBCDIC. If you've never heard of EBCDIC, that won't apply to you. i.e., don't bother using --ascii.

If you're curious, EBCDIC is a family of character encodings that are totally incompatible with ASCII, used on some IBM systems.

0

精彩评论

暂无评论...
验证码 换一张
取 消