- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: dos2unix command
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
Discussions
Discussions
Forums
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
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
тАО05-30-2005 08:03 AM
тАО05-30-2005 08:03 AM
There was a command "dos2unix" to convert windows created text/ascii files into unix format on some non HP-UX.
I am not sure whether similar command exist on hpux 11i.
Can someone point out on this ?
Thanks in advance.
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2005 08:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 06:39 PM
тАО09-11-2007 06:39 PM
Re: dos2unix command
On HP-UX 11i (HP-UX sysname B.11.11 U 9000/800)you find dos2ux and ux2dos in directory: /usr/bin/
Paul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 06:55 PM
тАО09-11-2007 06:55 PM
Re: dos2unix command
http://h20331.www2.hp.com/Hpsub/cache/288622-0-0-225-121.html
HP-UX Solaris command mapping
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 11:10 PM
тАО09-11-2007 11:10 PM
Re: dos2unix command
install recode e.g from:
http://hpux.asknet.de/hppd/hpux/Gnu/recode-3.6/
try
# recode lat1..IBM-PC/CR-LF
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 11:44 PM
тАО09-11-2007 11:44 PM
Re: dos2unix command
ux2dos:
$ perl -pe 'chomp;$_.="\r\n"' tmp.ux > x.dos
dos2ux:
$ perl -pe 's/\r$//' tmp.dos > tmp.ux
fwfw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2007 11:54 PM
тАО09-11-2007 11:54 PM
Re: dos2unix command
Why resurrect a 2+ year old thread when it already had a solution?!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2007 12:57 AM
тАО09-12-2007 12:57 AM
Re: dos2unix command
I guess Paul made us do it?!
Sorry 'bout that, I normally pay attention to the dates and try to avoid redundant replies.
Hein.
Hoi Paul, had je niet gezien dat er al een oplossing was? Groetjes, Hein.