Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

srf_list(1) [debian man page]

srf_list(1)							   Staden io_lib						       srf_list(1)

NAME
srf_list - Lists and/or counts the contents of an SRF file SYNOPSIS
srf_list [options] srf_archive ... DESCRIPTION
srf_list lists the filenames held within one or more SRF container. To simply count the contents rather than list them specify the -c option. Note that when in count-only mode if an index is present it will be used to determine the number of entries in the index and hence sequences in the SRF file. The index cannot be used when listing the filenames however as the index itself does not contain the full file- names. Note that it is not possible to count sequences matching certain patterns or with specific flags set. srf_info is a more general purpose tool that may cover this. OPTIONS
-c Counts sequences instead of listing them. Note that this may be substantially faster than listing if an index exists. -v Verbose mode. This gives summary count information per file rather than just the total at the end. -l Long format. When listing sequence names this also provides information on the position in the archive and the size of the sequence specific data block and the size of the shared data block header. EXAMPLES
To count the total number of sequences in several SRF files: srf_list -c *.srf To produce a "fofn" (file of filenames) for an SRF file: srf_list foo.srf > foo.fofn AUTHOR
James Bonfield, Wellcome Trust Sanger Institute September 29 srf_list(1)

Check Out this Related Man Page

NEW(1)								     [nmh-1.5]								    NEW(1)

NAME
new - report on folders with new messages fnext - set current folder to next folder with new messages fprev - set current folder to previous folder with new messages unseen - scan new messages in all folders with new messages SYNOPSIS
new [sequences] [-mode mode] [-folders foldersfile] [-version] [-help] fnext is equivalent to new -mode fnext fprev is equivalent to new -mode fprev unseen is equivalent to new -mode unseen DESCRIPTION
New in its default mode produces a one-line-per-folder listing of all folders containing messages in the listed sequences or in the sequences listed in the profile entry "Unseen-Sequence". Each line contains the folder, the number of messages in the desired sequences, and the message lists from the .mh_sequences file. For example: foo 11.* 40-50 bar 380. 760-772 824-828 total 391. The `*' on foo indicates that it is the current folder. The last line shows the total number of messages in the desired sequences. New crawls the folder hierarchy recursively to find all folders, and prints them in lexicographic order. Override this behavior by provid- ing foldersfile containing the pre-sorted list of folders new should check, one per line. In fnext and fprev modes, new instead changes to the next or previous matching folder, respectively. In unseen mode, new executes scan sequences for each matching folder. FILES
$HOME/.mh_profile The user profile PROFILE COMPONENTS
Path: To determine the user's nmh directory Current-Folder: To find the default current folder Unseen-Sequence: The name of the unseen message sequence SEE ALSO
scan(1), mh-format(5) HISTORY
Based on Luke Mewburn's new (http://www.mewburn.net/luke/src/new). MH.6.8 11 June 2012 NEW(1)
Man Page

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Whats does this mean

Found this piece of code written in ksh. I have no ideas what do the stuff like ${SRF##*\.} do. SUFFIX=${SRF##*\.} if ; then SUFFIX="" fi I have encountered similar expressions in other programs also. Any pointers on where to learn more about these... (1 Reply)
Discussion started by: jyotipg
1 Replies

2. UNIX for Dummies Questions & Answers

How to get listing with complete paths

I am doing ls -ltrR to get long listing of files and directories, recursively. In place of files, I want to see the file names with complete path The way it looks now is ls -ltrR . .: total 866 -rwxrwxr-x 1 user ofr 945 Nov 30 2004 findwordinfiles drwxrwxr-x 3 user ... (1 Reply)
Discussion started by: sunilav
1 Replies

3. UNIX for Dummies Questions & Answers

how to count pariticular char in a location in a file

Hi .. I am having file say at 53rd position it will be as 0's or 1's .. How can i count the total number of 1's and 0's in the files at the 53 rd location. Thanks, Arun (5 Replies)
Discussion started by: arunkumar_mca
5 Replies

4. Shell Programming and Scripting

Trying to do a count on multiple lines in a file

Guys I am having a problem with being able to do a count of entries in a file. What I am trying to get a count of the total number of members that are listed in the files. So I need to pull the number of the lines after members. I tried using sed but it only seems to count the first... (7 Replies)
Discussion started by: scottzx7rr
7 Replies

5. UNIX for Dummies Questions & Answers

ls and file count

Hello everyone, I am investigating if there is a straight forward way to ask with a single line command a listing of particular files based on a mask and at the same time have a line after the listing is completed that says how many matches were found. Something of the sort: ls -ltr Done* ... (2 Replies)
Discussion started by: gio001
2 Replies

6. UNIX for Dummies Questions & Answers

grep help

I have a file that contains a number of fasta sequences, each one starts with '>'. I would like to count the number of sequences I have in the file. When I use the code below I get: $ grep -c '>' total_Protein.txt 1 even though the file contains hundreds If I use: $ grep -c {>}... (3 Replies)
Discussion started by: jgeahlen
3 Replies

7. UNIX for Dummies Questions & Answers

In ls -l remove total count

Hi All, When i give ls -ltr i get 'total 10' like this along with files long listing. is there any option in ls command to remove this line or do we need use head -1 command only. $ls -ltr total 45 -rw-r--r-- 1 abc g1 0 Jul 17 07:20 0 -rw-r--r-- 1 abc g1 744 May 9 12:10 a -rw-r--r--... (1 Reply)
Discussion started by: HemaV
1 Replies

8. Shell Programming and Scripting

File count script not working properly

Hi Experts, I have this script to count the number of files based on prefix and suffix values. #!/bin/ksh file_date=$1 prefix=$2 suffix=$3 file_count=$(ls -l /db/day_file/{$prefix}*${file_date}*{$suffix}) The files in the directory /db/day_file are as below. 20170501 20170501... (7 Replies)
Discussion started by: nalu
7 Replies