Search Results

Search: Posts Made By: shravan.300
3,505
Posted By shravan.300
Thanks... it works. i have another question...
Thanks... it works.

i have another question - let's suppose i enter 41 chars, but i want first 40 chars to be read. can this be possible? please let me know.

echo "enter your name"
read name...
3,505
Posted By shravan.300
Shell script - entered input(1-40 bytes) needs to be converted exactly 40 bytes
hello,

suppose, entered input is of 1-40 bytes, i need it to be converted to 40 bytes exactly.

example: if i have entered my name anywhere between 1-40 i want it to be stored with 40 bytes...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 11:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy