02-25-2013
I have managed to get the following output:
XPAR
XPAR
XPAR ,
XPAR , ,
XPAR ,1,
XPAR 12
XPAR 19
XPAR 196
XPAR 20
XPAR 95
XPAR 95,
XPAR 95,77
But I would like to just clean up the rows which have no data/ space/ tab on the second column.
Any Ideas please.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have a file having 1000 rows. Now I would like to remove 10 rows from it. Plz give me the script.
Eg:
input file like
4 1 4500.0 1
5 1 1.0 30
6 1 1.0 4500
7 1 4.0 730
7 2 500000.0 730
8 1 785460.0 45
8 7 94255.0 30
9 1 31800.0 30
9 4 36000.0 30
10 1 15000.0 30... (5 Replies)
Discussion started by: suresh3566
5 Replies
2. Shell Programming and Scripting
I have a file content like below.
"0000000","ABLNCYI","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","",""
"0000000","ABLNCYI","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","",""
"0000000","ABLNCYI","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","",""... (5 Replies)
Discussion started by: vamshikrishnab
5 Replies
3. Shell Programming and Scripting
I need to delete rows based on the number of lines in a different file, I have a piece of code with me working but when I merge with my C application, it doesnt work.
sed '1,'\"`wc -l < /tmp/fileyyyy`\"'d' /tmp/fileA > /tmp/filexxxx
Can anyone give me an alternate solution for the above (2 Replies)
Discussion started by: Muthuraj K
2 Replies
4. UNIX for Advanced & Expert Users
Say i have a file with X rows and Y columns....i see that in some of the rows,some columns are blank (no value set)...i wish to delete such rows....how can it be done?
e.g
181766 100 2009-06-04
184443 2009-06-04
10962 151 2009-06-04
161 2009-06-04... (7 Replies)
Discussion started by: ak835
7 Replies
5. Shell Programming and Scripting
for example:
this is the data file test.txt with more than 1000 rows
1. ccc 200
2.ddd 300
3.eee 400
4 fff 5000
........
1000 ddd 500
....
I would like to keep the rows with ccc and ddd, all other rows will be deleted, I still need the same output file: test.txt, how can... (5 Replies)
Discussion started by: jdsignature88
5 Replies
6. UNIX for Dummies Questions & Answers
Hello,
Merry Christmas to all! I wish you the best for these holidays and the best for the next year 2011.
I'd like your help please, I need to delete all the rows in the third column of my file, but without touching nor changing the first and last value position, this is an example of my... (2 Replies)
Discussion started by: Gery
2 Replies
7. Shell Programming and Scripting
Hi,
This is a followup to my earlier post
him mno klm 20 76 . + . klm_mango unix_00000001;
alp fdc klm 123 456 . + . klm_mango unix_0000103;
her tkr klm 415 439 . + . klm_mango unix_00001043;
abc tvr klm 20 76 . + . klm_mango unix_00000001;
abc def klm 83 84 . + . klm_mango... (5 Replies)
Discussion started by: jacobs.smith
5 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I would like to know how can I delete rows of a text file if from the 3rd column onwards there is only zeros?
Thanks in advance (7 Replies)
Discussion started by: fadista
7 Replies
9. Shell Programming and Scripting
each individual (row) has genotype expressed for each SNP (column)
file1.txt
1 1 A G A T G T A A A A A A A A A A A A A A A A A A A A A
2 2 G A A A A A A A A A A A A A A A A A A A A A A A A A A
3 3 A A A A A A A A A A A A A A A A A A A A A A A A A A A
4 4 G A G T A T A A A A A A A A A A A... (3 Replies)
Discussion started by: johnkim0806
3 Replies
10. Shell Programming and Scripting
Hi everyone,
I will appreciate a lot if anyone can help me about a simple issue.
I have a data file, and I need to remove some rows with a given condition.
So here is a part of my data file:
5,14,1,3,3,0,0,-0.29977188269E+01
5,16,1,4,4,0,0,0.30394279900E+02... (4 Replies)
Discussion started by: hayreter
4 Replies
LEARN ABOUT DEBIAN
gnunet-fuse
GNUNET-FUSE(1) FUSE filesystem for GNUnet GNUNET-FUSE(1)
NAME
gnunet-fuse - FUSE filesystem for GNUnet
SYNOPSIS
gnunet-fuse -s URI [-- FUSE-OPTIONS] DIRECTORYNAME
gnunet-fuse --help
DESCRIPTION
gnunet-fuse is the FUSE filesystem for GNUnet.
You need the URI of a file with the mime-type of application/gnunet-directory. You can either publish a directory with gnunet-insert or do
a search for the mime-type. To mount the URI use the following command.
$ echo gnunet://ecrs/chk/XXXX/YYYY.NNNN > uri_file
$ gnunet-fuse -s uri_file /mnt
Where gnunet://ecrs/chk/XXXX/YYYY.NNNN is the URI and /mnt is the mount point.
OPTIONS
-c, --config=FILE
use configuration file FILE.
-d, --directory=PATH
path to your mountpoint.
-h, --help
print this help.
-L, --log=LOGLEVEL
configure logging to use LOGLEVEL.
-l, --logfile=FILE
configure logging to write logs to LOGFILE.
-s, --source=URI
Source you get the URI from.
-t, --single-threaded
run in single-threaded mode.
-v, --version
print the version number.
SEE ALSO
gnunet(7)
HOMEPAGE
More information about gnunet-fuse and the GNUnet project can be found at <http://www.gnunet.org/>.
This manual page was written by Daniel Baumann <daniel.baumann@progress-technologies.net> and Bertrand Marc <beberking@gmail.com>.
0.9.3 2012-06-18 GNUNET-FUSE(1)