Search Results

Search: Posts Made By: cbarker
6,851
Posted By cbarker
Thank you very much for your assistance. I...
Thank you very much for your assistance. I manipulated the variables, tested again and it kept the variable at two digits.
6,851
Posted By cbarker
Is there a way to always keep the variable at two...
Is there a way to always keep the variable at two characters, only having a leading zero, if the year is less than 10?
6,851
Posted By cbarker
I don't need to use the century in this code, so...
I don't need to use the century in this code, so the code will work as I need it to.
6,851
Posted By cbarker
Although we have korn shell here, the first line...
Although we have korn shell here, the first line in our scripts set the environment to bourne shell (.#!/bin/sh), so the typeset command does not work. I apologize for not putting that in the...
6,851
Posted By cbarker
define length of variable
I have a variable with a value of "05". When I add one to that variable, using the command: CURR_YY=`expr $CURR_YY + 1`, I get the value of "6", losing the leading zero (which is needed for passing...
Showing results 1 to 5 of 5

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