Following a part of opmn.xml file:
This section appears a lot of times in this file. The uniqueness key is the schema name. In this example,the schema name is PLATOR81.
I need to find what is the first number in the line :
<port id="jms" range="3821-3822"/>
In this example : 3821
The steps suppose to be:
1. Find the line : <process-type id="OC4J_RiGHTv_PLATOR81"
2. Under this line ,find the line : <port id="jms" range="3821-3822"/>
3. Cut the first number after "range="
Is there a way to search an entire file system for the occurance of a string..... other than grep.
I have a large directory structure and I'm not certain that grep <string> */*/*/*... is all that effective - especially as I can't be sure of the number of levels to go down without heaps of... (3 Replies)
Hi,
Need to extract a string from one file and search the same in other files.
Ex:
I have file1 of hundred lines with no delimiters not even space.
I have 3 more files.
I should get 1 to 10 characters say substring from each line of file1 and search that string in rest of the files and get... (1 Reply)
I need to search for a specific string in a file and if this string exist I need to replace it with something else. I am not sure how I could do this, using an if statement. (2 Replies)
Hi,
I am new to unix shell scripting.
I have a requirement.
Could anyone help me writing the script for the same?
Here goes the requirement:
I have a config file let's say temp.config.
Here is the data in the config file
temp.config :
-------------
name=victor
age=42
state=texas... (5 Replies)
Hi Guys...
I want to search for each file that contains a particular string.
e.g find . -print | xargs grep -i string_name
Now my issue is the files that I search in are gzipped.
Will I be able to find the string, using the above commands, even if the files are gzipped?
Please... (2 Replies)
Hi
I am trying to search for a certain set of patterns within a file, and then perform other commands based on output.
testfile contents:
password requisite pam_cracklib.so lcredit=-1 ucredit=-1 ocredit=-1
script:
D="dcredit=-1"
if
then
echo $D exists
else
echo $D doesnt... (8 Replies)
Hi
I would like to read a file using perl and search for a string (last entry). Then read that into an array and do further grep
File content for ex:
comp=a,value=30,runtime=12,type=lic
comp=d,value=15,runtime=2,type=lic
comp=a,value=90,runtime=43,type=lic... (1 Reply)
I need to design a script which can do the following:
I have two files abc.txt and constant.hmtl
abc.txt contains some 5 string that I need to see if they exist in contants.html.
Constants.hmtl is a very large file around 800 lines.
I want to search all the strings present in file... (8 Replies)
Hello,
I have a file name like FIRST_DPF_DAILY_CUST_0826152322.txt
i need to extract the string after the third "_" underscore upto timestamp ends i.e CUST_0826152322
can anyone help me with the code
Thank you!
Regards
Srikanth Sagi (3 Replies)
I have a data file example
10302|77747373|442422442|290209|244242|"234|2352"|92482892
It has about 5000 rows the same way in that field.
Needs to look like this.... I need to remove the quotes but the more difficult thing is to remove the pipe between the quotes because there is a pipe... (6 Replies)
Discussion started by: xgringo
6 Replies
LEARN ABOUT CENTOS
gsettings-schema-convert
GSETTINGS-SCHEMA-C(1) User Commands GSETTINGS-SCHEMA-C(1)NAME
gsettings-schema-convert - GConf to GSettings schema conversion
SYNOPSIS
gsettings-schema-convert [option...] {file}
DESCRIPTION
gsettings-schema-convert converts between GConf and GSettings schema file formats. Note that the conversion is not expected to be fully
automated. You are expected to verify and edit the result of the conversion.
Note that GSettings schemas need to be converted into binary form with glib-compile-schemas before they can be used by applications.
Options
-h, --help
Print help and exit
-o OUTPUT, --output=OUTPUT
Store the generated output in the file OUTPUT. If no output file is specified, the generated output is written to stdout.
-f, --force
Overwrite the output file if it already exists.
-g, --gconf
The input file is a GConf schema.
-s, --simple
Produce a GSettings schema in simple format. The simple format is easier to edit and can be converted into the XML format with
gsettings-schema-convert later on.
-x, --xml
Produce a GSettings schema in XML format. If the output format is not explicitly specified, this is the default.
-i ID, --schema-id=ID
Use ID as the schema id in the generated GSettings schema.
-d DOMAIN, --gettext-domain=DOMAIN
Use DOMAIN as the gettext domain in the generated GSettings schema.
-u, --keep-underscores
Keep underscores in key names instead of replacing them with dashes. GSettings keys should not contain any underscore.
SEE ALSO gsettings-data-convert(1) a related command to migrate user settings from GConf to GSettings.
User Commands 01/21/2013 GSETTINGS-SCHEMA-C(1)