That's all good information, but there's nothing special about files beginning with a dot when they're referenced directly - I should have made that distinction, as it was my point, in the context of the question.
I agree. I made a different assumption. My guess was that scribling didn't think that the command:
succeeded because after running that command, a subsequent command:
and didn't include .bla in the output.
Of course, all of this discussion is just guessing about what "doesn't work" meant in post #1 in this thread.
Hi, everyone.
I'm now using rsync command, and please tell me what is the wildcard for below looks like.
I want to chose dotfiles, such as
.ipod
.apple
but i don't want to chose
.
and
..
------------------
.*
doesn't work, of course.
Thanks,
Euler04 (2 Replies)
I am trying to split input that looks like
,2005-09-12 01:45:00.000000,2005-09-12 01:48:18.000000,
I want to split on the dot .
What I am using is ($ev_time,$rol)=split(/\./),$inputfile;
This does not recognize the dot as what I want to split on. (2 Replies)
Hi,
I want to connect a Oracle databse through unix shell script.
When I will execute a shell script it will ask for user name and password to connect the databsae.
At the time of entering the password field value, it willl display the characters like star(*), dot(.) instead of exact... (2 Replies)
Hi,
I wanted to create a script what would take two numbers out of two files and add them together, but I got stuck with greping numbers what have a dot in it.
So far I have grepped the two lines what include the numbers I need (from both files) to a third file and from that file I try to... (7 Replies)
Hi Friends,
I have a variable which has a number (e.g. 12.1234). I want to remove "." (dot) from that number i.e. 121234
I want to do this using perl.
Can you please guide me
Thank you
Anushree (2 Replies)
I need a script that will allow me to rename all of my files in subdir /FilesIn
as follows:
From kumc_835_111200.RMT.dat to kumc_835_111200RMT.dat
kumc_835_111200.KMR.dat to kumc_835_111200KMR.dat
.................etc
How do I do that whithout doing a sed ... (10 Replies)
I am on hp-ux and not able to catch the file with dot using a wild card.
$ touch .test
$ ls -l .test
-rw-r--r-- 1 oracle dba 0 Mar 21 05:20 .test
$ ls -l *test
*test not found
$ ls -la *test
*test not found
Why i am not able to list the file startign with .... (7 Replies)
Discussion started by: bang_dba
7 Replies
LEARN ABOUT DEBIAN
config::model::dumper
Config::Model::Dumper(3pm) User Contributed Perl Documentation Config::Model::Dumper(3pm)NAME
Config::Model::Dumper - Serialize data of config tree
VERSION
version 2.021
SYNOPSIS
use Config::Model ;
use Log::Log4perl qw(:easy) ;
Log::Log4perl->easy_init($WARN);
# define configuration tree object
my $model = Config::Model->new ;
$model ->create_config_class (
name => "MyClass",
element => [
[qw/foo bar/] => {
type => 'leaf',
value_type => 'string'
},
baz => {
type => 'hash',
index_type => 'string' ,
cargo => {
type => 'leaf',
value_type => 'string',
},
},
],
) ;
my $inst = $model->instance(root_class_name => 'MyClass' );
my $root = $inst->config_root ;
# put some data in config tree the hard way
$root->fetch_element('foo')->store('yada') ;
$root->fetch_element('bar')->store('bla bla') ;
$root->fetch_element('baz')->fetch_with_id('en')->store('hello') ;
# put more data the easy way
my $step = 'baz:fr=bonjour baz:hr="dobar dan"';
$root->load( step => $step ) ;
# dump only customized data
print $root->dump_tree;
DESCRIPTION
This module is used directly by Config::Model::Node to serialize configuration data in a compact (but readable) string.
The serialization can be done in standard mode where only customized values are dumped in the string. I.e. only data modified by the user
are dumped.
The other mode is "full_dump" mode where all all data, including default values, are dumped.
The serialized string can be used by Config::Model::Walker to store the data back into a configuration tree.
Note that undefined values are skipped for list element. I.e. if a list element contains "('a',undef,'b')", the dump will contain 'a','b'.
CONSTRUCTOR
new ( )
No parameter. The constructor should be used only by Config::Model::Node.
Methods
dump_tree
Return a string that contains a dump of the object tree with all the values. This string follows the convention defined by
Config::Model::Walker.
The serialized string can be used by Config::Model::Walker to store the data back into a configuration tree.
Parameters are:
mode ( full | preset | custom )
"full" will dump all configuration data including default values.
"preset" will dump only value entered in preset mode.
By default, the dump contains only data modified by the user (i.e. "custom" data that differ from default or preset values).
node
Reference to the Config::Model::Node object that is dumped. All nodes and leaves attached to this node are also dumped.
skip_auto_write ( <backend_name> )
Skip node that have a write capability matching "backend_name" in their model. See Config::Model::AutoRead.
auto_vivify
Scan and create data for nodes elements even if no actual data was stored in them. This may be useful to trap missing mandatory values.
(default: 0)
experience ( ... )
Restrict dump to "beginner" or "intermediate" parameters. Default is to dump all parameters ("master" level)
check
Check value before dumping. Valid check are 'yes', 'no' and 'skip'.
AUTHOR
Dominique Dumont, (ddumont at cpan dot org)
SEE ALSO
Config::Model,Config::Model::Node,Config::Model::Walker
perl v5.14.2 2012-11-09 Config::Model::Dumper(3pm)