12-03-2015
YAML file update
removing post since it got fix
Last edited by kishore150; 12-05-2015 at 02:25 AM..
Reason: removing post since it got fix
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I need to write a shell script to update properties between files.
I have 2 files as follow:
file1
urlWebserviceCheckAddress^=McoConfigGlobal.commonGLOBALUrlWebservice
file 2
urlWebserviceCheckAddress=http://localhost:8080/tags
Both files containt the same properties... (1 Reply)
Discussion started by: teodora
1 Replies
2. Programming
Hi all,
I am stuck with a ruby script that extracts detials from yaml file and processes accordingly.
the yaml file
confivnic:
device:
vnic1:
policy:
- L2
mode: active
vnic2:
policy:
- L3
- L4
mode: active
type: aggr
... (1 Reply)
Discussion started by: wrapster
1 Replies
3. Shell Programming and Scripting
Here is a data file, which I believe is in YAML. I am trying to retrieve just the 'addon_domains" section, which doesnt seem to be as easy as I had originally thought. Any help on this would be greatly appreciated!! I have been trying to do this in awk and mostly bash scripting instead of perl... (3 Replies)
Discussion started by: Rhije
3 Replies
4. Shell Programming and Scripting
hi all,
Please help me with rsync.
I configured rsync to preserve timestamps using the -a option.
When i renamed fileA to fileB on source machine I have to copies at the backup server.
The aim is to keep the most recent file.
fileA & fileB has same contents.
When i renamed fileB to... (2 Replies)
Discussion started by: coolatt
2 Replies
5. UNIX for Dummies Questions & Answers
Hi everyone!
Hope all of you will be fine. I am new to this forum.
Well, I am trying to configure yaml-0.1.4 in cygwin on Windows 7.
I have written the following command:
*******/tmp/yaml-0.1.4
$ ./configure --prefix=/usr && make && make install
and the following error appeared.
... (3 Replies)
Discussion started by: imdalucky1
3 Replies
6. Shell Programming and Scripting
In the perl below I am trying to set/update the value of $14 (last field) in file2, using the matching NM_ in $12
or $9 in file2 with the NM_ in $2 of file1.
The lengths of $9 and $12 can be variable but what is consistent is the start pattern will always be NM_ and the end pattern is always
;... (4 Replies)
Discussion started by: cmccabe
4 Replies
7. Shell Programming and Scripting
In the awk below I am trying to add a penalty to a score to each matching $1 in file2 based on the sum of $3+$4 (variable TL) from file1. Then the $4 value in file1 is divided by TL and multiplied by 100 (this valvue is variable S). Finally, $2 in file2 - S gives the updated $2 result in file2.... (2 Replies)
Discussion started by: cmccabe
2 Replies
8. Shell Programming and Scripting
Dears,
I have a listfile contains list of files path.
i need to read the line of the listfile
mv the file to other directory
and update the listfile by deleting the lines of the listfile.
#!/bin/bash
target=/fstest/INVESTIG/Sadiq/TEST_ARCH
while read -r line || ];
do
mv $line... (19 Replies)
Discussion started by: sadique.manzar
19 Replies
9. UNIX for Beginners Questions & Answers
In the awk below I am trying to cp and paste each matching line in f2 to $3 in f1 if $2 of f1 is in the line in f2 somewhere. There will always be a match (usually more then 1) and my actual data is much larger (several hundreds of lines) in both f1 and f2. When the line in f2 is pasted to $3 in... (4 Replies)
Discussion started by: cmccabe
4 Replies
10. Shell Programming and Scripting
After the success of the jq - tool for parsing and manipulating JSON-Data someone wrote a tool called yq, which aims to be the same for YAML, what jq is for JSON. Seems to work fine. I'll definitely give it a chance in future.
Example YAML-File:
--- !ruby/object:Puppet::Node::Facts
... (1 Reply)
Discussion started by: stomp
1 Replies
LEARN ABOUT DEBIAN
yodlpost
yodlpost(1) Your Own Document Language yodlpost(1)
NAME
yodlpost - Yodl post-processor
SYNOPSIS
yodlpost [options] index yodlout [out]
DESCRIPTION
The Yodl post processor is used to solve references into the converted text, and to split (where appropriate) the converted Yodl text in
parts. Some conversions do not require post-processing, such as LaTeX, but most do. Therefore, in most cases a Yodl conversion consists of
two phases:
o First, yodl(1) is called, producing a raw output file and an associated index file;
o Then, yodlpost(1) is called, converting these two files into a final document. Normally, yodl2...(1) scripts are used to perform
complete Yodl conversions.
OPTIONS
-x ext: extension of the out-s if different from out's extension itself. If omitted, and out has no extension, ypp (Yodl Post Processor) is
used.
SEE ALSO
yodlstriproff(1), yodl(1), yodlbuiltins(7), yodlconverters(1), yodlletter(7), yodlmacros(7), yodlmanpage(7), yodlverbinsert(1).
BUGS
-
AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl),
yodl_3.00.0.tar.gz 1996-2010 yodlpost(1)