- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- line too long??
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
04-01-2004 04:56 PM
04-01-2004 04:56 PM
I can't log file..
when I opened the log file by vi, I got the message..."XXX Line too long"
Is there any limitation...A line can have characters???
how can I open the the file?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 04:57 PM
04-01-2004 04:57 PM
Re: line too long??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 05:11 PM
04-01-2004 05:11 PM
Re: line too long??
didn't know vi had a limitation on number of chars in a line. It sounds to me that its not a ascii file?
Or can it be that there are some binary strings in it.
Check with: file
If it returns ASCII then use more or tail like Mark suggested.
HTH,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 05:20 PM
04-01-2004 05:20 PM
Re: line too long??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 05:35 PM
04-01-2004 05:35 PM
Re: line too long??
but I want to know how can I open the file...by VI!!
why I can't edit or capture specific part in the file..that file is acsii text log file..
How many chars does A line have?? (limit..^^) and How Can extend that limit..??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 05:37 PM
04-01-2004 05:37 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 05:47 PM
04-01-2004 05:47 PM
Re: line too long??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 05:48 PM
04-01-2004 05:48 PM
Re: line too long??
If you are using 11.11 then you can use this patch PHCO_27057 to make it 4096
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 01:40 AM
05-05-2004 01:40 AM
Re: line too long??
I am trying to chop out the file part of a file by piping a head and tail command together. An example is:
head -213 test.txt | tail -42 > test2.txt
to grab lines 171-213 of a file.
The problem is, my command sometimes returns only partial lines (the last line is truncated).
Do you all suppose this is a similar limitation of head or tail? Why are my lines being truncated? Is there a workaround? I don't throw a "line too long" error, but this sounds like it might be the problem.
Thanks much!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 01:42 AM
05-05-2004 01:42 AM
Re: line too long??
# perl -ne'171..213 and print' test.txt
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 02:26 AM
05-05-2004 02:26 AM
Re: line too long??
Thanks for the perl tip -- worked like a charm. Cheers!!