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
10-19-2004 09:24 PM
10-19-2004 09:24 PM
I would like to know if ed has a limit of lines. I am genereting one file and its stops at 768622 lines..... and I would like to generate one file of 857667 lines.
Is it possible??
Thanks!!
Carmen.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2004 09:48 PM
10-19-2004 09:48 PM
SolutionThe following size limitations apply: 256 characters per global command list, 64 characters per file name, and 32 MB characters in the buffer. The limit on the number of lines depends on the amount of user memory: each line takes 1 word.
So I think it's ulimit -a which will tell you the amount of user memory, then some calculations which I'm afraid haven't got handy.
Can you use split or vi?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2004 09:51 PM
10-19-2004 09:51 PM
Re: ed
In vi I can hit
57 topaz bootpd[6006]: no client found
1015610 Oct 20 11:15:16 topaz bootpd[6006]: no client found
1015611 Oct 20 11:15:48 topaz bootpd[6006]: no client found
1015612 Oct 20 11:30:30 topaz ftpd[11600]: User root timed out after 900 second
s at Wed Oct 20 11:30:30 2004
1015613 Oct 20 11:30:30 topaz ftpd[11600]: FTP session closed
1015614 Oct 20 11:31:18 topaz bootpd[6006]: no client found
1015615 Oct 20 11:31:49 topaz above message repeats 69 times
1015616 Oct 20 11:31:50 topaz bootpd[6006]: no client found
Thats over one million
Maybe you do not have largefiles there and are hitting 2GB filesize
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2004 10:40 PM
10-19-2004 10:40 PM
Re: ed
What about vi or ex
regards
SK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2004 10:53 PM
10-19-2004 10:53 PM
Re: ed
What problem are you really trying to solve?
> would like to generate one file of 857667 lines.
Generating files is straigtforward with AWK and PERL and SHell scripts. All of those have NO lines nor bytes limitation
perl -e 'print "line $i\n" while (++$i < 857668)'
fwiw,
Hein.