Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
UNZIP without converting LF to CRLF

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PC Tech Help & IT News
Author Message
hyuzen

Active User


Joined: 10 Jul 2005
Posts: 50

PostPosted: Fri Feb 29, 2008 6:05 pm    Post subject: UNZIP without converting LF to CRLF
Reply with quote

Hi all,
Is there any unzip tool while unzipping a file without converting local convention ?
That file zipped in unix and will be unzipped in windows system. End of line (LF) of unix file should not be converted CRLF in windows during the unzip operation.
Thanks in advance,
Huseyin
Back to top
View user's profile Send private message
References
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3168
Location: italy

PostPosted: Fri Feb 29, 2008 6:14 pm    Post subject: Reply to: UNZIP WITHOUT CONVERTING LF TO CRLF
Reply with quote

You had another thread going on with the same arguments,
and You got some reasonable answers

why start a new thread icon_evil.gif

anyway if Your unzip does not have an option to preserve line endings
You can always search the net for the dos2unix and unix2dos line end conversion utilities
Back to top
View user's profile Send private message
hyuzen

Active User


Joined: 10 Jul 2005
Posts: 50

PostPosted: Fri Feb 29, 2008 6:31 pm    Post subject:
Reply with quote

Hi Enrico,
You are right.
I am just looking for the easiest and simple way to do so. Then I am going decide which way is more efficient, helpful and unrisky for the operation.
Thanks in advance.
Huseyin
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3168
Location: italy

PostPosted: Fri Feb 29, 2008 6:35 pm    Post subject: Reply to: UNZIP WITHOUT CONVERTING LF TO CRLF
Reply with quote

So if You have the skill to decide about efficiency, ease of use, and ...
then You should not have any need to ask icon_cool.gif
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3304
Location: Charlotte,NC USA

PostPosted: Fri Feb 29, 2008 6:48 pm    Post subject: Reply to: UNZIP WITHOUT CONVERTING LF TO CRLF
Reply with quote

Again, as far as I know, any commercial PKZIP/PUNZIP product offers the ability to specify how inter-record-separators (IRS's), end-of-line (EOL) and end-of-file (EOF) markers are to be handled.
Back to top
View user's profile Send private message
hyuzen

Active User


Joined: 10 Jul 2005
Posts: 50

PostPosted: Fri Feb 29, 2008 9:15 pm    Post subject:
Reply with quote

Hi Enrico,
I mean I am looking for the best solution from what you provided or what I have. And all your comments have been contributing my decision.
Thank you again.

Hi Spark,
Thank you once again.

Regards,
Huseyin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PC Tech Help & IT News All times are GMT + 6 Hours
Page 1 of 1