10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms.
Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
2. Shell Programming and Scripting
I'm trying to do something pretty simple but its appears more complicated than expected... I've lines in a text file, separated by the comma and that I want to output to another file, without the first field.
Input file:
file1,item, 12345678
file2,item, 12345678
file2,item, ... (8 Replies)
Discussion started by: Armoric
8 Replies
3. Shell Programming and Scripting
Hi,
I have task to merge multiple XML's to one big XML.
In doing this i have to calculate the byte size of each XML which i will be recieving as a string from a code and append all the recieved XML's to single file.
The reason being the byte size and the offset will help me to extract only... (7 Replies)
Discussion started by: chetan.c
7 Replies
4. Shell Programming and Scripting
Hi all,
I have certain task to do, which involves reading the first column of 1.txt file.
This is variable "event"
28434710
23456656
3456895
& finding this "event" in some other text file 2.txt, which has information in the following format
#Zgamma: 1 run: 160998 event: ... (7 Replies)
Discussion started by: nrjrasaxena
7 Replies
5. UNIX for Dummies Questions & Answers
I have two text files: One is a single column of numbers and the other is a space delimited text file with multiple columns. I want to paste the single column of numbers into the second column of the latter text file. How do I go about doing that? Thanks! (1 Reply)
Discussion started by: evelibertine
1 Replies
6. Shell Programming and Scripting
Hi All,
I have .csv file in which I am trying to manipulate a column date, I started with awk but i am not sure how to do the below logic in .
the file has a 23 columns and in the first row if the value is Trend and in the second column the value is Analysis then the program has to... (3 Replies)
Discussion started by: shruthidwh
3 Replies
7. Shell Programming and Scripting
i have two files with contents
file a
1234,abcf
2345,drft
4444,befr
file b
tom,3
sam,5
dog,7
i want to print first column of file b and join to file a and get output as below
tom,1234,abcf
sam,2345,drft
dog,4444,befr (2 Replies)
Discussion started by: dealerso
2 Replies
8. Shell Programming and Scripting
Preserve byte size of fields while pasting it to other file
Hello
I want to set two fields in a text file to be of size 20.
how to do it using unix ?
eg: ABC.txt
Name | City
I want Name and City both to be of size 20.
Also If I am pasting it in other file the byte size should be... (1 Reply)
Discussion started by: dashing201
1 Replies
9. Shell Programming and Scripting
In my server migration requirement, I need to compare if one file on old server is exactly the same as the corresponding file on the new server.
For diff and comm, the inputs need to be sorted. But I do not want to disturb the content of the file and need to find byte-to-byte match.
Please... (4 Replies)
Discussion started by: krishmaths
4 Replies
10. UNIX for Dummies Questions & Answers
I have a text file that has over 300 lines that I need to paste identical data to. What is the easiest way to do this? For example if I have a file that has lines of text xxxxxxxx and I would like to change each line to look like this "display text(xxxxxxxx)". What would be the easiest way to do... (3 Replies)
Discussion started by: darthur
3 Replies
PUBINDEX(1) General Commands Manual PUBINDEX(1)
NAME
pubindex - make inverted bibliographic index
SYNOPSIS
pubindex [ file ] ...
DESCRIPTION
Pubindex makes a hashed inverted index to the named files for use by refer(1). The files contain bibliographic references separated by
blank lines. A bibliographic reference is a set of lines that contain bibliographic information fields. Each field starts on a line
beginning with a `%', followed by a key-letter, followed by a blank, and followed by the contents of the field, which continues until the
next line starting with `%'. The most common key-letters and the corresponding fields are:
A Author name
B Title of book containing article referenced
C City
D Date
d Alternate date
E Editor of book containing article referenced
G Government (CFSTI) order number
I Issuer (publisher)
J Journal
K Other keywords to use in locating reference
M Technical memorandum number
N Issue number within volume
O Other commentary to be printed at end of reference
P Page numbers
R Report number
r Alternate report number
T Title of article, book, etc.
V Volume number
X Commentary unused by pubindex
Except for `A', each field should only be given once. Only relevant fields should be supplied. An example is:
%T 5-by-5 Palindromic Word Squares
%A M. D. McIlroy
%J Word Ways
%V 9
%P 199-202
%D 1976
FILES
x.ia, x.ib, x.ic where x is the first argument.
SEE ALSO
refer(1)
local PUBINDEX(1)