02-01-2011
thanx buddy
you helped me alot
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My input:
File_1:
2000_t
g1110.b1
abb.1
2001_t
g1111.b1
abb.2
abb.2
g1112.b1
abb.3
2002_t
.
.
File_2:
2000_t Ali england 135
abb.1 Zoe british 150
2001_t Ali england 305
g1111.b1 Lucy russia 126 (6 Replies)
Discussion started by: patrick87
6 Replies
2. Shell Programming and Scripting
Hi,
I have text file in the following strucher .
The files contain hondreds of lines.
value1;value2;value3;value4
I would like to get back the line with lowest date (values4 field).
In this case its line number 3.
groupa;Listener;1;20110120162018
groupb;Database;0;20110201122641... (4 Replies)
Discussion started by: yoavbe
4 Replies
3. Shell Programming and Scripting
Input file
data20714 7327 7366 detail
data20714 7327 7366 main
data250821 56532 57634 detail
data250821 57527 57634 main
data250821 57359 57474 main
data250821 57212 57301 main
data250821 57140 57159 detail
data250821 56834 57082 main
data250821 56708 56779 main ... (3 Replies)
Discussion started by: perl_beginner
3 Replies
4. Shell Programming and Scripting
Hi all,
I have following sample input file which is a part of big file:
ID AINX_HUMAN Reviewed; 499 AA.
AC Q16352; B1AQK0; Q9BRC5;
DT 30-MAY-2000, integrated into UniProtKB/Swiss-Prot.
DT 23-JAN-2002, sequence version 2.
DT 28-NOV-2012, entry version 123.... (2 Replies)
Discussion started by: kareena
2 Replies
5. Shell Programming and Scripting
here is what i want to achieve.. i have a file with below contents
cat fileName
blah blah blah
.
.DROP this
REJECT that
.
--sport 7800 -j REJECT --reject-with icmp-port-unreachable
--dport 7800 -j REJECT --reject-with icmp-port-unreachable
.
.
.
more blah blah blah
--dport 3306... (14 Replies)
Discussion started by: vivek d r
14 Replies
6. Shell Programming and Scripting
Hi
This is my first post and I'm just a beginner. So please be nice to me.
I have a couple of html files where a pattern beginning with "http://www.site.com" and ending with "/resource.dat" is present on every 241st line. How do I extract this to a new text file?
I have tried sed -n 241,241p... (13 Replies)
Discussion started by: dejavo
13 Replies
7. Shell Programming and Scripting
Im using the command below , but thats not the output that i want. it only prints the odd and even numbers.
awk '{if(NR%2){print $0 > "1"}else{print $0 > "2"}}'
Im hoping for something like this
file1:
Text hi this is just a test
text1 text2 text3 text4 text5 text6
Text hi... (2 Replies)
Discussion started by: invinzin21
2 Replies
8. Shell Programming and Scripting
Hi guys,
I am running a while loop in a script ro read a file line by line.
Now I want to run a grep only on the lines below the line I am that is being read by the while loop.
Eg:
If my while loop is on line 4 of the file, the grep only runs below line 4 and does not include line 1,2... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies
9. Shell Programming and Scripting
In the below file I am trying to grep or similar, all lines where only AF= is less than 0.4.. Thank you :).
grep
grep "AF=" ,+ .4 file
file
12 112036782 . T C 34.0248 PASS ... (3 Replies)
Discussion started by: cmccabe
3 Replies
10. Shell Programming and Scripting
Hi,
I have a file where versions will be updated, i need to get latest/last updated version from that file. Could you please help?
File looks like below -
<versions>
<version>R20180417.006</version>
<version>R20180421.007</version>
<version>R20180421.008</version>
... (5 Replies)
Discussion started by: schandra128
5 Replies
LEARN ABOUT DEBIAN
muscan
MUSCAN(1) Museek Daemon Plus MUSCAN(1)
NAME
Muscan - File scanner for Museek
SYNOPSIS
muscan [-c <filename>] [--config <filename>] [-b] [--buddy] [-v] [--verbose] [-r] [--rescan] [-n] [--noscan] [-s <directory>] [--share
<directory>] [-u <directory>] [--unshare <directory>] [-l] [--list] [-h] [--help]
DESCRIPTION
Muscan scans paths & files to be shared by museekd(1). It creates a database of files, with meta-data for MP3 and OGG Vorbis files, if Vor-
bis support was compiled in. There are two available shares databases, Normal and Buddies-Only. Buddies-Only is an optional shares database
that, if enabled, is only accessible by the users you've chosen as "Buddies".
Before running muscan, you will need a configured museekd, which can be done with musetup(1) or fI>musetup-gtk(1), and add some shared
paths with either of the setup tools or with muscan(1).
OPTIONS
Muscan accepts the following options:
-c <filename>, --config <filename>
Use a different config file.
-b, --buddy
Select Buddy-Only Shares.
-s <directory>, --share <directory>
Add directory to shares.
-u <directory>, --unshare <directory>
Remove directory from shares.
-r, --rescan
Rescan shares.
-n, --noscan
Do not rescan shares.
-v, --verbose
Be verbose while scanning shares.
-l, --list
Display list of shared directories.
-h, --help
Display Help, version and exit.
EXAMPLE
To run a quick shares update, run:
muscan or muscan -b
To rescan everything, run:
muscan -r or muscan -b -r
Alternatively you use a different config file with:
muscan --config config.xml
FILES
~/.museekd/config.xml
The default location for the museekd config file.
~/.museekd/config.shares
The default location for the Normal shares database.
~/.museekd/config.shares.state
The default location for the active Normal shares database.
~/.museekd/config.buddyshares
The default location for the Buddy shares database.
~/.museekd/config.buddyshares.state
The default location for the active Buddy shares database's.
AUTHORS
Hyriand <hyriand@thegraveyard.org>
daelstorm <daelstorm@gmail.com>
SEE ALSO
mucous(1) mulog(1) murmur(1) muscand(1) museekcontrol(1) museekd(1) museeq(1) musetup(1) musetup-gtk(1)
daelstorm Release 0.2.0 MUSCAN(1)