- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: number of character per 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
10-28-2002 09:29 AM
10-28-2002 09:29 AM
number of character per line
I want to run the following comand line:
${MYWS}/bin/batac_web_form -tNIVEL1 ${CE_CC_CECLA1501_DATA_DIR} ${CE_CC_CECLA1501_REPORTS_DIR} ${CE_CC_CECLA1501_DONE_DIR} ${CE_CC_CECLA1501_USER_CLARIFY} ${CE_CC_CECLA1501_PASSWORD_CLARIFY} ${CE_CC_CECLA1501_CLIENT_CLARIFY} ${CE_CC_CECLA1501_PASSAPP_CLARIFY}
but the number of character is 260 so I lost the last 4 characters.
Can I change the number of the character in the input line?
I could change the name of the variables but it is a lot of work because I have somethins like this in a lot of scripts, will be better if I could cange the number or the input characters
if I run the same line with other user in other environment I haven't problem. It this environment problem?,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2002 09:37 AM
10-28-2002 09:37 AM
Re: number of character per line
it allows you split a command in some lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2002 09:38 AM
10-28-2002 09:38 AM
Re: number of character per line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2002 09:42 AM
10-28-2002 09:42 AM
Re: number of character per line
Thats a very good question why one user can run and the other not. Normally this is a hard limit of 255 - set in /usr/include/limits.h
# define _POSIX_MAX_CANON 255 /* Max number of bytes in a terminal canonical input line */
Whats the difference between your 2 environments ? are they using different shells ? same version of HP-UX ? You need to investigate this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2002 09:58 AM
10-28-2002 09:58 AM
Re: number of character per line
/cell-c/fase2/cc/bin/batac_web_form -tNIVEL1 /cell-c/fase2/cc/data/web_form/data /cell-c/fase2/cc/data/web_form/reports /cell-c/fase2/cc/data/web_form/done sa sa clarify clarify
this all value are correct but the last one must be the truncate value I can see all the data, so what happend with the last one. If I run the first line, the shell truncate the last variable but in the log I see all the values. If I run the line but with the correct values instead of $variable I haven't problem.