Sponsored Content
Top Forums Shell Programming and Scripting Need to represent a number in 99999999 format(8 digits) Post 302683557 by Eman_in_forum on Wednesday 8th of August 2012 07:44:49 AM
Old 08-08-2012
actually i am stuck at this point and i have not yet implemented this part at all.

this scripts runs daily and creates a file that has the name file_00000001.cvs at first day, file_00000002.cvs at second day and so on

I just wanted to set a counter with format 99999999 that will incremented every day for this purpose.

Please not i work on bash , solaris 10 machine
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

restrain the number of digits of a PID

How is it possible under UNIX to restrain the number of digits of the PID number? For instance, we have a product that generates a PID of 7 digits, and we would like to have only 6 digits maximum instead for the PID. Thank you for your help. (1 Reply)
Discussion started by: mlefebvr
1 Replies

2. Shell Programming and Scripting

Count number of digits in a word

Hi all Can anybody suggest me, how to get the count of digits in a word I tried WORD=abcd1234 echo $WORD | grep -oE ] | wc -l 4 It works in bash command line, but not in scripts :mad: (12 Replies)
Discussion started by: ./hari.sh
12 Replies

3. Shell Programming and Scripting

number of digits after decimal

Hi All, I have a file of decimal numbers, cat file1.txt 1.1382666907 1.2603107334 1.6118799297 24.4995857056 494.7632588468 560.7633734425 ..... I want to see the output as only 7 digits after decimal (5 Replies)
Discussion started by: senayasma
5 Replies

4. Shell Programming and Scripting

summing the digits of a binary nuMBER

please help me write a perl program to find the difference of 1 and zeros of a 6 digit binary number. eg If input is 111100 expected output +2 if input is 000011 expected output -2 input is 000111 expected output 0 (2 Replies)
Discussion started by: dll_fpga
2 Replies

5. Shell Programming and Scripting

extracting Number variable and the following digits.

HI all, I have output of something like this: crab: ExitCodes Summary >>>>>>>>> 12 Jobs with Wrapper Exit Code : 50117 List of jobs: 1-12 See https:///twiki/something/ for Exit Code meaning crab: ExitCodes Summary >>>>>>>>> 5 Jobs with Wrapper Exit Code : 8001 List of... (20 Replies)
Discussion started by: emily
20 Replies

6. Shell Programming and Scripting

Represent the data in table format as in mail content

hi all, I want to Represent the data in table format in mail content sample data should be like this...but i m trying to send this table to mail using unix command...hw do i do????even i echoed the table contents ...doesnt work.... help me <table style="background-color:lightblue;">... (8 Replies)
Discussion started by: navsan
8 Replies

7. Shell Programming and Scripting

awk changes to cut number of digits

HCPM1ONDB00014800011800000589009211201 L201307022013070228AUD 00000000031. 000965105800000000000000000000000 MOBITV KEYA ... (4 Replies)
Discussion started by: mirwasim
4 Replies

8. Shell Programming and Scripting

Find number of digits in a word

HI, Can you tell me how to find the number of digits in a word. $cat data.txt +123456ad 87645768 Output should be 6 8 (5 Replies)
Discussion started by: ashwin3086
5 Replies

9. UNIX for Dummies Questions & Answers

What does the 2nd number after the process id represent ? [ss command]

For instance, when I run ss -lptn | grep sshd , the output is as follows: LISTEN 0 128 *:22 *:* users:(("sshd",1252,3)) 1252 refers to the process id, but what does the 3 refer to ? (2 Replies)
Discussion started by: Hijanoqu
2 Replies

10. Programming

DB2 convert digits to binary format

Dear Team We use DB2 v10.5 and using DBArtisan tool Can someone please guide how to convert digits to binary numbers using db2 feature. Ex> for number 9 , binary should be 1001 ( 8+1) Any help appreciated. Thanks (2 Replies)
Discussion started by: Perlbaby
2 Replies
CVS-DEBUILD(1)						      General Commands Manual						    CVS-DEBUILD(1)

NAME
cvs-debuild - build a Debian package using cvs-buildpackage and debuild SYNOPSIS
cvs-debuild [debuild options] [cvs-buildpackage options] [--lintian-opts lintian options] DESCRIPTION
cvs-debuild is a wrapper around cvs-buildpackage to run it with debuild as the package-building program. (This cannot simply be accom- plished using the -C option of cvs-buildpackage, as it does not know how to handle all of the special debuild options.) The program simply stashes the debuild and lintian options, and passes them to debuild when it is called by cvs-buildpackage. All of the standard debuild options may be used (as listed below), but note that the root command specified by any --rootcmd or -r command-line option will be passed as an option to cvs-buildpackage. The first non-debuild option detected will signal the start of the cvs-buildpackage options. The selection of the root command is slightly subtle: if there are any command-line options, these will be used. If not, then if cvs- buildpackage is set up to use a default root command, that will be used. Finally, if neither of these are the case, then debuild will use its procedures to determine an appropriate command, as described in its documentation. See the manpages for debuild(1) and cvs-buildpackage for more information about the behaviour of each. OPTIONS
The following are the debuild options recognised by cvs-debuild. All cvs-buildpackage and lintian options are simply passed to the appro- priate program. For explanations of the meanings of these variables, see debuild(1). --no-conf, --noconf --rootcmd=gain-root-command, -rgain-root-command --preserve-env --preserve-envvar=var, -evar --set-envvar=var=value, -evar=value --lintian, --no-lintian --ignore-dirname, --check-dirname These should not be needed, but it is provided nevertheless. SEE ALSO
cvs-buildpackage(1), debuild(1), dpkg-buildpackage(1) and lintian(1). AUTHOR
This program was written by Julian Gilbey <jdg@debian.org>. DEBIAN
Debian Utilities CVS-DEBUILD(1)
All times are GMT -4. The time now is 10:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy