08-30-2007
map comparsion
Hi all
I have to compare maps/files on two seperate boxes and the output must be as following:
1)list the maps/file on box1
2)list the maps/file on box2
3)List maps in both the environments
a) which are same
b)which are different
pls any ideas are appreciated
thnks
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
There is a "Map"? of Unix and all its varients somewhere on the net. I used to have the link , but can't find it now. Anyone out there have a clue????
A good magician never reveals his secret; the unbelievable trick
becomes simple and obvious once it is explained. So too with... (3 Replies)
Discussion started by: Bodhi
3 Replies
2. Programming
Hi there,
I am using the STL map and I print the map using:
map <string, float> ngram_token_index ;
map <string, float>::iterator map_iter ;
//read the map
...
// print the map
for ( map_iter = ngram_token_index.begin() ; map_iter != ngram_token_index.end() ; map_iter++ )
cout << ... (2 Replies)
Discussion started by: superuser84
2 Replies
3. HP-UX
Hi, I'm trying to map a vi editor key to some commands. I'm using HP-UX 11.11. the command looks like
map ~cmnt o * Suman Satpathy : <Esc> :r! date "\%d\%m\%y" <Esc> j$J
basically my idea is to map a shortcut for my commentlines.
but when I run the shortcut it inserts the line as below
*... (1 Reply)
Discussion started by: sumansatpathy
1 Replies
4. Programming
I modified some code I found on Wikipedia concerning maps to see if it would work before applying it to a project I'm working on that has a similar idea.
What I would want is for a user to be able to enter sentences and then be able to distinguish how many times a the person entered a word in a... (4 Replies)
Discussion started by: kcgb20
4 Replies
5. Shell Programming and Scripting
Hi,
I have many files in the source directory but I need to process with the latest timestamp file.
I am using linux operating system. i want extract the file created timestamp( Ext_File_create_date=)
With this format YYYYMMDD-
i have searched the relevent command in the unix forms but did... (5 Replies)
Discussion started by: onesuri
5 Replies
6. Shell Programming and Scripting
Dear all
Would anyone tell me how to prevent user from input non asterisk(i.e. *) character via keyboard?
#!/bin/ksh
targetHour=-1
while ]
do
echo "Please input target hour":
read targetHour
done
When I execute the above coding, and then input a "j", it return the following... (3 Replies)
Discussion started by: cstsang
3 Replies
7. UNIX for Dummies Questions & Answers
Hi ,
Please look into the query
1)Date format: mm/dd/yyyy example (10/22/2013)
2) compare this date with the System date
3) if the difference of dates less than 30 days. Then return true otherwise false.
4)commands date-d is not there in my unix version.
5)present version 6
6)using... (7 Replies)
Discussion started by: RaghavendraT
7 Replies
8. Programming
Hello All,
I am having an issue of putting a Boolean value in the maps as the 3rd parameter. Something like the following :
int value;
std::map<String str, int x, bool bl>
where bool returns false if x>value else true.
All I see in the map examples is that I can add the... (2 Replies)
Discussion started by: mind@work
2 Replies
9. UNIX for Advanced & Expert Users
Hi All, Please suggest some file comparison tool in Linux.
The tool have the provision for command line option for file comparison and the output will be stored in to html file. Thanks in advance (2 Replies)
Discussion started by: k_manimuthu
2 Replies
LEARN ABOUT DEBIAN
lqr_carver_set_dump_vmaps
LQR_CARVER_SET_DUMP_VMAPS LqR library API reference LQR_CARVER_SET_DUMP_VMAPS
NAME
lqr_carver_set_dump_vmaps, lqr_carver_set_no_dump_vmaps - set the visibility maps autodump for an LqrCarver object
SYNOPSIS
#include <lqr.h>
void lqr_carver_set_dump_vmaps(LqrCarver* carver);
void lqr_carver_set_no_dump_vmaps(LqrCarver* carver);
DESCRIPTION
Invoking function lqr_carver_set_dump_vmaps over the LqrCarver object pointed to by carver has the effect of activating the automatic
dumping of visibility maps at each rescale operation (which by default is turned off).
Rescale operations involving both directions will dump two maps.
The dumped maps will be attached to the LqrCarver object and can be accessed at any later time using the functions lqr_vmap_list_foreach(3)
or a combination of lqr_vmap_list_start(3), lqr_vmap_list_current(3) and lqr_vmap_list_next(3).
Using this setting is pointless if the LqrCarver object is not initialised.
The function lqr_carver_set_no_dump_vmaps reverts the effect of the previous one (but the maps dumped so far will be kept).
Note that it is also possible to dump the visibility maps manually; however, using the automatic dump is the only way to get intermidiate
maps when the function lqr_carver_resize(3) performs the rescaling in both directions, or in more than one step.
SEE ALSO
lqr_carver_init(3), lqr_carver_resize(3), lqr_carver_set_enl_step(3), lqr_carver_set_resize_order(3),
lqr_carver_set_side_switch_frequency(3), lqr_carver_set_progress(3), lqr_carver_set_preserve_input_image(3), lqr_vmap_list_start(3),
lqr_vmap_list_current(3), lqr_vmap_list_next(3), lqr_vmap_list_foreach(3), lqr_carver_set_use_cache(3)
COPYRIGHT
Copyright (C) 2007-2009 Carlo Baldassi
LqR library 0.4.1 API (3:1:3) 10 Maj 2009 LQR_CARVER_SET_DUMP_VMAPS