My sincere thanks for being patience with me as well as helping me with my need.
I understand fully now that by sharing incorrect or partial input/output file without paying full attention to the same, I am wasting your valuable time.
I am attempting to summarize again my need with below details.
1. My input file is Pipe (|) Delimited CSV file.
2. It has multiple records and end of record is identified by new line character.
3. There is no blank lines between each record ( either in input or output file)
4. I want only double-quoted <newline>s and <vertical-bar>s to be removed. (replaced by Null)
5. The double quotes itself should be removed. (Replaced by Null)
I have various column names within double quotes, separated by commas.
Example:
"column one", "column number two", "this is column number three", anothercolumn, yetanothercolumn
I need to eliminate the double quotes and replace the blanks within the double quotes by underscores, giving:
... (5 Replies)
Hi Experts,
I have a file with some of the records contain double quotes. If I found a double quote(") in any particular record , I need to look for the next double quote in that particular record and in between these quotes, if any comma(,) is there I need to replace with Tilde (~) in the same... (12 Replies)
Hi,
Could you please help me in removal of newline chracter present in between the double quotes and replacing it with space.
For example ...
Every field is wrapped with double quotes with comma delimiter, so I need to travese from first double quote occerence to till second double... (7 Replies)
Unix superusers,
I am new to unix but would like to learn more about grep. I am very familiar with regular expressions as i have used them for searching text files in windows based text editors. Since I am not very familiar with Unix, I dont understand when one should use GREP with the... (2 Replies)
I have a file with a lot of lines (a lot!) that contain 10 digits between double quotes. ie "1726937489". The digits are random throughout, but always contain ten digits.
I can not for the life of me, (via scouring the internet and grep how-to manuals) figure out how to find this when I search.... (3 Replies)
hi
Need to run below command on remote server:
cmd -a "1 2" -b 3
If i run below, there's clash matching double quotes and fail.
ssh $server "cmd -a "1 2" -b 3"
I have few ideas which worked (like keeping the entire cmd in a file and copy it to remote server and then run that file)... (1 Reply)
Hi,
Trying to change the prompt. I have the following code.
export PS1='
<${USER}@`hostname -s`>$ '
The hostname is not displayed
<abc@`hostname -s`>$ uname -a
AIX xyz 1 6 00F736154C00
<adcwl4h@`hostname -s`>$
If I use double quotes, then the hostname is printed properly but... (3 Replies)
Hi All,
I'm unable to load the data using sql loader where there are double quotes within the double quotes As these are optionally enclosed by double quotes.
Sample Data :
"221100",138.00,"D","0019/1477","44012075","49938","49938/15043000","Television - 22" Refurbished - Airwave","Supply... (6 Replies)
Hi All,
I have my data like below
"1","abc,db","hac,aron","4","5"
Now I need to extract 1,2,4th columns
Output should be like
"1",abc,db","4"
Am trying to use cut command but not able to get the results.
Thanks in advance. (4 Replies)
Hi All,
I am getting .csv file whenever there is a comma present between a field that field get enclosed with double quotes
For eg as below
abc,123,xxyy,2178
fgh,123,"x,x"yy",2178
ghi,123,"x,xyy",2178
jkl,123,xx"yy,2178
whereas I want my data as per below
abc,123,xxyy,2178... (1 Reply)
Discussion started by: H_bansal
1 Replies
LEARN ABOUT CENTOS
indxbib
INDXBIB(1) General Commands Manual INDXBIB(1)NAME
indxbib - make inverted index for bibliographic databases
SYNOPSIS
indxbib [ -vw ] [ -cfile ] [ -ddir ] [ -ffile ] [ -hn ] [ -istring ] [ -kn ] [ -ln ] [ -nn ] [ -ofile ] [ -tn ] [ filename... ]
DESCRIPTION
indxbib makes an inverted index for the bibliographic databases in filename... for use with refer(1), lookbib(1), and lkbib(1). The index
will be named filename.i; the index is written to a temporary file which is then renamed to this. If no filenames are given on the command
line because the -f option has been used, and no -o option is given, the index will be named Ind.i.
Bibliographic databases are divided into records by blank lines. Within a record, each fields starts with a % character at the beginning
of a line. Fields have a one letter name which follows the % character.
The values set by the -c, -n, -l and -t options are stored in the index; when the index is searched, keys will be discarded and truncated
in a manner appropriate to these options; the original keys will be used for verifying that any record found using the index actually con-
tains the keys. This means that a user of an index need not know whether these options were used in the creation of the index, provided
that not all the keys to be searched for would have been discarded during indexing and that the user supplies at least the part of each key
that would have remained after being truncated during indexing. The value set by the -i option is also stored in the index and will be
used in verifying records found using the index.
OPTIONS
It is possible to have whitespace between a command line option and its parameter.
-v Print the version number.
-w Index whole files. Each file is a separate record.
-cfile Read the list of common words from file instead of /usr/share/groff/1.22.2/eign.
-ddir Use dir as the pathname of the current working directory to store in the index, instead of the path printed by pwd(1). Usually dir
will be a symbolic link that points to the directory printed by pwd(1).
-ffile Read the files to be indexed from file. If file is -, files will be read from the standard input. The -f option can be given at
most once.
-istring
Don't index the contents of fields whose names are in string. Initially string is XYZ.
-hn Use the first prime greater than or equal to n for the size of the hash table. Larger values of n will usually make searching
faster, but will make the index larger and indxbib use more memory. Initially n is 997.
-kn Use at most n keys per input record. Initially n is 100.
-ln Discard keys that are shorter than n. Initially n is 3.
-nn Discard the n most common words. Initially n is 100.
-obasename
The index should be named basename.i.
-tn Truncate keys to n. Initially n is 6.
FILES
filename.i Index.
Ind.i Default index name.
/usr/share/groff/1.22.2/eign
List of common words.
indxbibXXXXXX Temporary file.
SEE ALSO refer(1), lkbib(1), lookbib(1)Groff Version 1.22.2 7 February 2013 INDXBIB(1)