Hi I am trying to write a bash script to add a line of text to the middle of a file.
The way I worked it out was to calculate the number of lines and divide by 2. The file I am using is called newfile and it just contains lines of data.
The new file I have created I have called midfile and... (7 Replies)
Hello,
I'm struggling with the following problem in sh script:
Adding a column to the right-end of a file ("master-file": non-constant column number, tab and linux formatted) where the column is the 4th one of file1 (space and DOS formatted)
Changing the header of column 4 of file 1 at the... (4 Replies)
Hello,
I have a comma separated flat file. It contains some 20 columns. I want to add two new columns at position 2,3. So that file will have 22 columns. I am providing here sample data with file having 4 columns. Appreciate your help in finding solution for this.
data in input file:... (11 Replies)
Hi All,
I have a file example.csv which looks like this
GrpID,TargetID,Signal,Avg_Num
CSCH74_1_1,2007,61,256
CSCH74_1_1,212007,647,679
CSCH74_1_1,12007,3,32
CSCH74_1_1,207,299,777
I want the output as
GrpID,TragetID,Signal-CSCH74_1_1,Avg_Num
CSCH74_1_1,2007,61,256... (4 Replies)
Hi All,
I have a file example.csv which looks like this
GrpID,TargetID,Signal,Avg_Num
CSCH74_1_1,2007,61,256
CSCH74_1_1,212007,647,679
CSCH74_1_1,12007,3,32
CSCH74_1_1,207,299,777
I want the output as
GrpID,TragetID,Signal-CSCH74_1_1,Avg_Num
CSCH74_1_1,2007,61,256... (1 Reply)
Hello,
I have a data such as this:
ENSGALG00000000189 329 G A 4 2 0
ENSGALG00000000189 518 T C 5 1 0
ENSGALG00000000189 1104 G A 5 1 0
ENSGALG00000000187 3687 G T 5 1 0
ENSGALG00000000187 4533 A T 4 2 0
ENSGALG00000000233 5811 T C 4 2 0
ENSGALG00000000233 5998 C A 5 1 0
I want to... (3 Replies)
I made a script that sends an email with one long line, line looks like this.
UY453;HJ345;BM342;JH526;HJ245;HJ234;NM235;........JK453;SD245;
The mail has about 200 of those IDs in one line, each ID is separtated by ";".
The problem is that there is a random exclemation mark and it... (3 Replies)
Hello ,
My requirement is to add additional column sequentially to a text file based on the column value -
i/p file
id1|varchar
id2|varchar
id3|number
id4|number
id5|date
id6|date
---------------------------------------
o/p file
colv1|id1 (if second column value is varchar then... (3 Replies)
I want to merge files as described below:
File 1
a;1;abc
b;2;def
c;3;xyz
d;4;pqr
e;5;mno
File 2
b;41
d;77
output
a;1;abc (9 Replies)
Discussion started by: Prabal Ghura
9 Replies
LEARN ABOUT DEBIAN
anubisadm
ANUBISADM(1) General Commands Manual ANUBISADM(1)NAME
anubisadm - interface for GNU Anubis database administration
SYNOPSIS
anubisadm anubisadm [COMMAND] [OPTIONS] URL
DESCRIPTION
This manual page documents briefly the anubisadm command.
anubisadm is a program for GNU Anubis database manipulation.
OPTIONS
A summary of options is included below:
COMMAND is one of:
-c, --create
Creates the database.
-l, --list
List the contents of an existing database.
-a, --add
Add a new record.
-m, --modify
Modify existing record.
-r, --remove
Remove existing record.
--version
Display program version number and exit.
--help Display this help screen and exit.
OPTION is one or more of:
-i, --authid=STRING
Specify the authid to operate upon. This option is mandatory with --add, --modify and --remove. It is optional when used with
--list.
-p, --password=STRING
Specify the password for the authid. Mandatory with --add, --modify and --remove.
-u, --user=STRING
Specify the system user name corresponding to the given authid. Optional for --add, --modify and --remove.
-f, --rcfile=STRING
Specify the rc file to be used for this authid. Optional for --add, --modify and --remove.
SEE ALSO anubis(1), anubisusr(1),
AUTHOR
anubisadm was written by The Anubis Team (read the AUTHORS file).
This manual page was prepared by Krzysztof Burghardt <krzysztof@burghardt.pl>, for the Debian project (but may be used by others).
2007 Sep 09 ANUBISADM(1)