split
Published: Wednesday, Dec 26, 2007 Last modified: Monday, Dec 9, 2024
How do I split “2003-03-15 184929” into $DATE and $NUM?
sysfault$ set -- ${var}; DATE=$1 NUM=$2; echo $NUM
How do I split “2003-03-15 184929” into $DATE and $NUM?
sysfault$ set -- ${var}; DATE=$1 NUM=$2; echo $NUM