- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Max limit of characters in a line???
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 02:22 PM
04-01-2004 02:22 PM
Max limit of characters in a line???
I have one problem. I am not able to enter more than 2048 characters in a single line in a file. This file contains the users I have for my network. Since one line atmost can have 2048 characters I am not able to create more than a certain number of users. Can I somehow increase this limit of max characters in a line? Is there any workaround??
Regards,
Pankaj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 02:33 PM
04-01-2004 02:33 PM
Re: Max limit of characters in a line???
http://hpux.connect.org.uk/hppd/hpux/Editors/vim-6.2/
check for its dependencies.
This should resolve the case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 03:44 PM
04-01-2004 03:44 PM
Re: Max limit of characters in a line???
You can insert a backslash (\) at the end of the line and continue typing in the next line.
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 04:12 PM
04-01-2004 04:12 PM
Re: Max limit of characters in a line???
#define NWGUYS john jim tim
#define UXGUYS peter michael
#define UXGIRLS suzy
UXGIRLS UXGUYS NWGUYS
If you throw this at cpp, the output would become:
suzy peter michael john jim tim
This works of course without the cpp too, by using shell variables.
The solution totally depends on how the file is being read and such... So more info might help us give a more explicit answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 04:44 PM
04-01-2004 04:44 PM
Re: Max limit of characters in a line???
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 04:47 PM
04-01-2004 04:47 PM
Re: Max limit of characters in a line???
if you create a file with
/usr/bin/echo "user1 user2 user3\c" >> file
The "\c" will stop "echo "putting a newline at the end. You can threfore keep doing that all day long and the file will get bigger and bigger and you will have a huge file of one line. "vi" probably won't be able to view it though.
So, it depends how you read this file. "cat" will probably work as will
perl -ne "print" filename