- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Read text file
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
тАО04-14-2009 03:23 AM
тАО04-14-2009 03:23 AM
Re: Read text file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 03:26 AM
тАО04-14-2009 03:26 AM
Re: Read text file
as he saied that he can cat the file but not able to vi the file.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 03:54 AM
тАО04-14-2009 03:54 AM
Re: Read text file
And probably not HP-UX.
>Suraj: as he said that he can cat the file but not able to vi the file.
You are confused. He really said, that when he used vi, he got garbage. That's because vi doesn't support UTF-16, that's not a multi-byte character code sets.
If cat works, it's probably because the output is being sent back to a linux machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 06:06 AM
тАО04-14-2009 06:06 AM
Re: Read text file
> he used vi, he got garbage.
As _I_ recall, he said ("Apr 14, 2009
07:02:05 GMT"):
> [...] A server ( which the server generate
> the file ) can vi and cat it , but others
> can't vi it but can cat it [...]
I _asked_:
> What are these servers? "uname -a"?
with no apparent result.
Most likely, one of the "vi" programs is
smarter than the other (perhaps by being
"vim" instead of "vi"), but given the
unidirectionality of the information flow
here, we may never know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 04:08 PM
тАО04-14-2009 04:08 PM
Re: Read text file
You have to read more replies (and minds :-), "when read it, it pops below" and "Little-endian UTF-16 Unicode".
- « Previous
-
- 1
- 2
- Next »