- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unix to Window, end of line broken, follow up
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 08:02 AM
08-01-2003 08:02 AM
I did try all recommended option with FTP but it wasn???t the solution.
The problem I think is different values for end-of-line in Unix = <\n> and
In Windows <\r\n>. so now I probably should just change it in Unix before sending it thru email.
Thanks to all
Vittorio
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 08:11 AM
08-01-2003 08:11 AM
Re: Unix to Window, end of line broken, follow up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 08:21 AM
08-01-2003 08:21 AM
Re: Unix to Window, end of line broken, follow up
I always thought that was a great name for a tool to help getting MSoft files into a unix system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 08:45 AM
08-01-2003 08:45 AM
Re: Unix to Window, end of line broken, follow up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 09:28 AM
08-01-2003 09:28 AM
Re: Unix to Window, end of line broken, follow up
$ sed 's/[\n]$/\r\n/g' file1.txt.
Doens't work, I still see my file in NotePad or Excel/Word broken. This file was originated from MVS, then FTPed to UNIX. On UNIX it looks just fine, all lines are in their proper place.
Don't think that Bin or other option with FTP will help, as on UNIX file is OK.
Thanks
Vitt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 09:46 AM
08-01-2003 09:46 AM
Re: Unix to Window, end of line broken, follow up
that will solve the issue..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 10:22 AM
08-01-2003 10:22 AM
Re: Unix to Window, end of line broken, follow up
ux2dos original_file > converted_file
Then you can open "converted_file" on your Win box.
The other thing is to make sure the file you are getting from MVS is ASCII and not EBCDIC (sp?) encoding. Not sure if MVS is still using EBCDIC.
Finally, WinWord on windows can open ASCII files with win/dos or Unix line endings and so can WinVI <>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 11:14 AM
08-01-2003 11:14 AM
Re: Unix to Window, end of line broken, follow up
????@@@??????????????????????????????????????????????????????????????a????a??????????@
vs
06/30/03ALEXXX== THIS IS REPORT 1111111111 (on MVS). Same thing I have transeferring this file thru email, either with Notepad or Word: just .
I have HP-11.00. Will keep trying.
Thanks to all respndents.
Vitt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 11:21 AM
08-01-2003 11:21 AM
Solution