Hi experts,
I need urget help! I have the a text file with this format:
Types of fruits
Name of fruits
1,1
Farm_no,1
apple,1
pineapple,1
grapes,1
orange,1
banana,1
2,2--->this is the record seperator
Farm_no,2
apple,1
pineapple,1
grapes,3
orange,2
banana,1
3,3--->this is the... (1 Reply)
Hi experts,
I need urget help! I have the a text file with this format:
Types of fruits
Name of fruits
1,1
Farm_no,1
apple,1
pineapple,1
grapes,1
orange,1
banana,1
2,2--->this is the record seperator
Farm_no,2
apple,1
pineapple,1
grapes,3
orange,2
banana,1
3,3--->this is the... (2 Replies)
this is Korn shell unix.
The scenario is I have a pipe delimited text file which needs to be customized. say for example,I have a pipe delimited text file with 15 columns(| delimited) and 200 rows. currently the 11th and 12th column has null values for all the records(there are other null columns... (4 Replies)
Hi,
I have a comma (,) delimited file, in which few fields are enclosed with in double quotes " ". I have to print the records in the file which donot have expected number of field with the line number.
File1
====
name,desgnation,doj,project #header#... (7 Replies)
Hi All,
I need a unix script to convert .csv files to .skv files (changing a comma delimited file to a semi colon delimited file). I am a unix newbie and so don't know where to start. The script will be scheduled using cron and needs to convert each .csv file in a particular folder to a .skv... (4 Replies)
Hi,
Is there a one-liner that I can use to change a line of text into a comma delimited string?
For example, convert
user1
user2
user3
user4to
user1,user2,user3,user4Currently using while read x, although got the extra comma at the end that I have to remove manually.
Please... (5 Replies)
Hi,
I am wanting to create a script that will construct a SQL statement based on a a space delimited string that it read from a config file.
Example of the SQL will be
For example, it will read a string like "AAA BBB CCC" and assign to a variable named IN_STRING.
I then concatenate... (2 Replies)
I have file in linux with comma delimited and string fields in double quotations ", I need to convert them to pipe delimiter please share your inputs.
Example:
Input:
"2017-09-30","ACBD,TVF","01234",NULL,18,NULL,"686091802","BANK OF ABCD, LIMITED, THE",790456
Output:
... (4 Replies)
Hi,
Apologies in advance to the moderator if I am posting this the wrong way.
I've searched and found the solution to an old post but as it is a very old post, I don't see an option to update it with additional question.
The question I have is in relation to the following post:
How to... (6 Replies)
Discussion started by: newbie_01
6 Replies
LEARN ABOUT DEBIAN
bcfg2-lint.conf
bcfg2-lint.conf(5) File Formats Manual bcfg2-lint.conf(5)NAME
bcfg2-lint.conf - configuration parameters for bcfg2-lint
DESCRIPTION
bcfg2-lint.conf includes configuration parameters for
bcfg2-lint
FILE FORMAT
The file is INI-style and consists of sections and options. A section begins with the name of the sections in square brackets and continues
until the next section begins.
Options are specified in the form 'name = value'.
The file is line-based each newline-terminated line represents either a comment, a section name or an option.
Any line beginning with a hash (#) is ignored, as are lines containing only whitespace.
The file consists of one [lint] section, up to one [errors] section, and then any number of plugin-specific sections, documented below.
(Note that this makes it quite feasible to combine your bcfg2-lint.conf into your bcfg2.conf(5) file, if you so desire.)
GLOBAL OPTIONS
These options apply to bcfg2-lint generally, and must be in the [lint] section.
plugins
A comma-delimited list of plugins to run. By default, all plugins are run. This can be overridden by listing plugins on the com-
mand line. See bcfg2-lint(8) for a list of the available plugins.
ERROR HANDLING
Error handling is configured in the [errors] section. Each option should be the name of an error and one of error , warning , or silent ,
which tells bcfg2-lint(8) how to handle the warning. Error names and their defaults can be displayed by running bcfg2-lint(8) with the
--list-errors option.
PLUGIN OPTIONS
These options apply only to a single plugin. Each option should be in a section named for its plugin; for instance, options for the
InfoXML plugin would be in a section called [InfoXML]
If a plugin is not listed below, then it has no configuration.
In many cases, the behavior of a plugin can be configured by modifying how errors from it are handled. See ERROR HANDLING , above.
Comments
The Comments plugin configuration specifies which VCS keywords and comments are required for which file types. The valid types of
file are global (all file types), bundler (non-templated bundle files), sgenshi (templated bundle files), properties (property
files), cfg (non-templated Cfg files), tgenshi (templated Cfg files), infoxml (info.xml files), and probe (probe files).
The specific types (i.e., types other than "global") all supplement global; they do not override it. The exception is if you spec-
ify an empty option, e.g.:
cfg_keywords =
By default, the $Id$ keyword is checked for and nothing else.
Multiple keywords or comments should be comma-delimited.
o <type>_keywords
Ensure that files of the specified type have the given VCS keyword. Do not include the dollar signs. I.e.:
infoxml_keywords = Revision
not:
infoxml_keywords = $Revision$
o <type>_comments
Ensure that files of the specified type have a comment containing the given string. In XML files, only comments are checked. In
plain text files, all lines are checked since comment characters may vary.
InfoXML
o required_attrs A comma-delimited list of attributes to require on <Info> tags. Default is "owner,group,perms".
MergeFiles
o threshold The threshold at which MergeFiles will suggest merging config files and probes. Default is 75% similar.
Validate
o schema The full path to the XML Schema files. Default is "/usr/share/bcfg2/schema". This can be overridden with the --schema
command-line option
SEE ALSO bcfg2-lint(8)bcfg2-lint.conf(5)