Hi,
I am new to using Sed. I have a file containg lines like the following:
INFORM----Test.pc:168:10/11/05 12:34:26 > some text goes here..
TRACE-----Test.pc:197:10/11/05 12:34:26 > some text goes here..
My requirement is to replace 10/11/05 12:34:26 with a string <RUNDATE> (including <... (4 Replies)
Hi,
I need to awk some data from some text files, basic stuff, eg:
awk '/phrase/ {print $1,$2,$3}' file
Which will print columns 1 to 3 of all lines containing "phrase"
But what if I wanted to pipe just one of the columns to a command (in my case a date converter) as in:
awk... (4 Replies)
Experts,
I am a beginner to Unix Shell Scripting
We have source as a flat file which contains CTRL+F character as the delimiter. We need to count the number of records in the file (CTRL+F) to perform file validation
Following command being used:
awk '{cnt+=gsub(//,"&")}END {print cnt}'... (4 Replies)
I would like to print result of multiple search pattern invoked from an one liner. The code looks like this but won't work
gawk -F '{{if ($0 ~ /pattern1/) pat1=$1 && if ($0 ~ /pattern2/) pat2=$2} ; print pat1, pat2}'
Can anybody help getting the right code? (10 Replies)
Hello,
Beginning with shell scipting, I'm trying to find in a csv file, the lines where the field related to hostname is displayed as an FQDN intead the hostname. (some lines are correct) and the to correct that inside the file:
Novell,11.0,UNIX Server,bscpsiws02,TxffnX1tX1HiDoyBerrzWA==... (2 Replies)
Experts:
LINE1 :This is line one The FIRST line of the file.
LINE2 :This is line two
LINE3 :This is line three with 8 fileds
LINE4 :This is line four
LINE5 :This is line five
LINE6 :This is line six with 8 fileds
I want to delete line 1, and then process the file and want to print lines... (2 Replies)
Dear Unix Forums,
I am hoping you can help me with a pattern matching problem.
What am I trying to do?
I want to replace multiple lines of a text file (that match a multi-line pattern) with a single line of text. These patterns can span several lines and do not always have the same number of... (10 Replies)
Hello is it possible with awk or sed to replace any white space with the previous line characters in the same position?
I am asking this because the file I have doesn't always follow a pattern.
For example the file I have is the result of a command to obtain windows ACLs:
icacls C:\ /t... (5 Replies)
Discussion started by: nakaedu
5 Replies
LEARN ABOUT DEBIAN
ampliconnoise
AMPLICONNOISE(1) AmpliconNoise Documentation AMPLICONNOISE(1)NAME
AmpliconNoise - remove noise from high throughput nucleotide sequence data
VERSION
This documentation refers to version 1.22
SYNOPSIS
See /usr/share/doc/ampliconnoise/Doc.pdf.gz for details of how to run.
DESCRIPTION
The following tools are included. Most of them have an MPI equivalent, for example SeqNoise has an equivalent SeqNoiseM which can be used
with mpirun.
FastaUnique - dereplicates fasta file
-in string input file name
Options:
FCluster
-in string distance input file name
-out string output file stub
Options:
-r resolution
-a average linkage
-w use weights
-i read identifiers
-s scale dist.
NDist - pairwise Needleman-Wunsch sequence distance matrix from a fasta file
-in string fata file name
Options:
-i output identifiers
Perseus - slays monsters
-sin string seq file name
Options:
-tin string reference sequence file
-a output alignments
-d use imbalance
-rin string lookup file name
PyroDist - pairwise distance matrix from flowgrams
-in string flow file name
-out stub out file stub
Options:
-ni no index in dat file
-rin string lookup file name
PyroNoise - clusters flowgrams without alignments
-din string flow file name
-out string cluster input file name
-lin string list file
Options:
-v verbose
-c double initial cut-off
-ni no index in dat file
-s double precision
-rin file lookup file name
SeqDist - pairwise distance matrix from a fasta file
-in string fasta file name
Options:
-i output identifiers
-rin string lookup file name
SeqNoise - clusters sequences
-in string sequence file name
-din string distance matrix file name
-out string cluster input file name
-lin string list file
Options:
-min mapping file
-v verbose
-c double initial cut-off
-s double precision
-rin string lookup file name
SplitClusterEven
-din string dat filename
-min string map filename
-tin string tree filename
-s split size
-m min size
AUTHOR
All software by Chris Quince (quince@civil.gla.ac.uk) This manpage by Tim Booth (tbooth@ceh.ac.uk)
LICENCE AND COPYRIGHT
Copyright (c) 2009 (quince@civil.gla.ac.uk). All rights reserved.
Released under the Lesser GPL.
Permission is granted for anyone to copy, use, or modify these programs and documents for purposes of research or education, provided this
copyright notice is retained, and note is made of any changes that have been made.
perl v5.12.4 2011-04-28 AMPLICONNOISE(1)