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)
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)
Hi,
I just need to check whether number of digits in a phone number is 10 or not. If I am not wrong regex will be: {9}
I have to use this inside nawk as this is a small portion of a big program.
nawk '
BEGIN { RS="";FS=";";
regex="{9}";
}
{
for (i=1;i<=NF;i++) {
if... (6 Replies)
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)
Hi all,
i have to create a file having an 8-digit sequence number, that will start by name file_00000001.cvs at first time, the next day the file will be named file_00000002.cvs and so on.
How can i do this in my script please, specially that i will need a counter that increments this number... (10 Replies)
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)
Hello,
This is similar to a previous post, where I was trying to eliminate lines where column #1 is duplicated. If it is a duplicate, the line with the greater value in column #2 should be deleted. In this new case, I need to test duplication with the first three digits in column #1 (ignoring the... (6 Replies)
Hi I have a problem, I am attempting to write a bash script that goes through a file and can determine how many characters are at a set point in a line starting with QTY+113:100:PCE, If it detects 3 digits (number in bold) then pad it out with 12 zero's
If there are only two digits then pad it... (8 Replies)
Discussion started by: firefox2k2
8 Replies
LEARN ABOUT MOJAVE
inline::wrapper::module
Inline::Wrapper::Module(3) User Contributed Perl Documentation Inline::Wrapper::Module(3)NAME
Inline::Wrapper::Module - Internal object wrapper for individual Inline modules.
SYNOPSIS
use Inline::Wrapper::Module;
DESCRIPTION
Inline::Wrapper::Module is used internally by Inline::Wrapper, and should not be used directly. It will croak if you attempt to do so.
It is a descendent class of Inline::Wrapper.
METHODS
new()
Takes the same arguments as "new()" in Inline::Wrapper, but also requires a module_name and lang_ext argument.
Don't use this. It will croak if you try to use it directly.
initialize()
Initialize the object instance.
DESTROY()
Destructor to clean up the object instance, and wipe the private code module namespace created when binding the symbol list.
INHERITANCE
As Inline::Wrapper::Module is an inherited class from Inline::Wrapper, all methods that apply to the base class also apply to objects of
this class.
However, note that this has the following effects, due to the semantics of the load()/run() steps:
auto_reload settings vs. when method effects take place:
auto_reload value: | FALSE TRUE
--------------------+------------------------------------------
set_base_dir() | no effect after next reload / run()
set_language() | no effect after next reload / run()
add_language() | no effect after next reload / run()
Please read through "load()" in Inline::Wrapper and "run()" in Inline::Wrapper for insight into why the implementation works like this.
SEE ALSO
Inline::Wrapper
The Inline documentation.
The Inline-FAQ list.
The examples/ directory of this module's distribution.
AUTHOR
Please kindly read through this documentation and the examples/ thoroughly, before emailing me with questions. Your answer is likely in
here.
Also make sure that your issue is actually with the Inline::Wrapper modules, and not with Inline itself.
Jason McManus (INFIDEL) -- "infidel AT cpan.org"
LICENSE
Copyright (c) Jason McManus
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl
distribution for details.
perl v5.18.2 2010-03-10 Inline::Wrapper::Module(3)