On Mon, Jul 12, 2010 at 08:58:05AM -0700, Chip Camden wrote:
Quoth Aiza on Monday, 12 July 2010:
Sorry miss send, was not done yet.
Have a .sh script that accepts an -s sparse file size.
Only 2 suffix's are valid m and g.
Been trying to get this line of code to strip out just the
On Tue, Jul 13, 2010 at 08:59:54AM +0800, Aiza wrote:
This is real close but it allows a numeric value through as valid which
is not a valid condition. The $size value has to be suffixed with g or m
to be valid. A numeric value only or a numeric value suffixed with
anything else than m or
Have a .sh script that accepts an -s sparse file size
Only 2 suffix's are valid m and g.
Been trying to get this line of code to just strip out just the single
letter. But it strips the letter and every thing to the right of it.
Timagesize=`echo-n ${imagesize} | sed 's/g.*$//'`
I plan to
Sorry miss send, was not done yet.
Have a .sh script that accepts an -s sparse file size.
Only 2 suffix's are valid m and g.
Been trying to get this line of code to strip out just the single
letter. But it strips the letter and every thing to the right of it.
Timagesize=`echo-n ${imagesize}
Aiza aiz...@comclark.com writes:
Have a .sh script that accepts an -s sparse file size.
Only 2 suffix's are valid m and g.
Been trying to get this line of code to strip out just the single
letter. But it strips the letter and every thing to the right of it.
Timagesize=`echo-n ${imagesize}
--On July 12, 2010 10:29:08 PM +0800 Aiza aiz...@comclark.com wrote:
Sorry miss send, was not done yet.
Have a .sh script that accepts an -s sparse file size.
Only 2 suffix's are valid m and g.
Been trying to get this line of code to strip out just the single letter. But
it strips the
Quoth Aiza on Monday, 12 July 2010:
Sorry miss send, was not done yet.
Have a .sh script that accepts an -s sparse file size.
Only 2 suffix's are valid m and g.
Been trying to get this line of code to strip out just the single
letter. But it strips the letter and every thing to the right
Anonymous wrote:
Aiza aiz...@comclark.com writes:
Have a .sh script that accepts an -s sparse file size.
Only 2 suffix's are valid m and g.
Been trying to get this line of code to strip out just the single
letter. But it strips the letter and every thing to the right of it.