Sponsored Content
Full Discussion: how to add 0 in 1-9
Top Forums Shell Programming and Scripting how to add 0 in 1-9 Post 302276539 by JerryHone on Wednesday 14th of January 2009 04:08:11 AM
Old 01-14-2009
Use printf with a "%02d" token to get leading zeroes.

Jerry
 

We Also Found This Discussion For You

1. Shell Programming and Scripting

How to add add some files together and then paste

How can you efficiently add pairs of files together and then paste those pairs, I have a climate computer at work which spits out temperatures and stuff out twice a day, one for the day-data and one for the night (basically). Every week I want to make a nice overview The text files are... (1 Reply)
Discussion started by: uwgandalf
1 Replies
shatag-add(1)							      Shatag							     shatag-add(1)

NAME
shatag-add - add checksums to the local database for further procressing. SYNOPSIS
shatag-add [-v] [-d DATABASE] NAME DESCRIPTION
shatag-add processes the output of shatag(1) to fill the local database. NAME is the symbolical name of the storage on which the file re- side (recommended to be the canonical hostname). If the operation succeeds, previous entries for the specified name are removed from the database. When running shatag(1) to send data to shatag-add, always use the -0 and -c options. Not using -0 will result in a garbled database; Not using -c may yield false positives when looking for duplicates. OPTIONS
-d DATABASE, --database DATABASE Use an alternate localtion for the SQLite database. The default is "$HOME/.shatagdb". REPORTING BUGS
Report shatag bugs to the bugtracker at http://bitbucket.org/maugier/shatag, SEE ALSO
shatag(1), shatag-mkdb(1) Shatag 0.1 26.08.2010 shatag-add(1)
All times are GMT -4. The time now is 03:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy