Sponsored Content
Full Discussion: delete line in file with sed
Top Forums Shell Programming and Scripting delete line in file with sed Post 302089562 by forever_49ers on Tuesday 19th of September 2006 05:02:04 PM
Old 09-19-2006
that did not work.

ex: command not found

Steffen
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sed: delete regex line and next line if blank

Hi, I want to write a sed script which from batiato: batiato/giubbe: pip_b.2.txt pip_b.3.txt pip_b.3mmm.txt bennato: bennato/peterpan: 123.txt consoli: pip_a.12.txt daniele: (2 Replies)
Discussion started by: one71
2 Replies

2. Shell Programming and Scripting

USING sed to delete a line

Please let me know wat would be sed command to delete any partcular line from a file and also moving lines below it to up. ie wen line #9 is deleted data in line #10 should move to #9 and so on. (2 Replies)
Discussion started by: fidelis
2 Replies

3. Shell Programming and Scripting

Sed or Grep to delete line containing patter plus extra line

I'm new to using sed and grep commands, but have found them extremely useful. However I am having a hard time figuring this one out: Delete every line containing the word CEN and the next line as well. ie. test.txt blue 324 CEN green red blue 324 CEN green red blue to produce:... (2 Replies)
Discussion started by: rocketman88
2 Replies

4. Shell Programming and Scripting

sed command to delete line

HI, Im using the below commmand to delete lines having "(" at the start of a line. sed -e '/^(/d' But i need a command to delete lines that has only "(" in it and no other strings. infile - asdf asdf ( asdf ( asd outfile (1 Reply)
Discussion started by: dvah
1 Replies

5. Shell Programming and Scripting

delete the line with a particular string in a file using sed command.

Hello, I want to delete all lines with given string in file1 and the string val is dynamic. Can this be done using sed command. Sample: vars="test twinning yellow" for i in $vars do grep $i file1 if then echo "Do Nothing" else sed `/$i/d` file1 fi done Using the above... (5 Replies)
Discussion started by: PrasadAruna
5 Replies

6. Shell Programming and Scripting

sed command to delete everything after > on line

I have a large data file that I need to edit. There are lines like, > <IDNUMBER> (ST000002) > <SUPPLIER> (ST000002) > <IDNUMBER> (ST000004) > <SUPPLIER> (ST000004) and I need to delete everything after the >, excepting the end of line. > <IDNUMBER> > <SUPPLIER> > <IDNUMBER> > ... (4 Replies)
Discussion started by: LMHmedchem
4 Replies

7. UNIX for Dummies Questions & Answers

using sed delete a line from csv file based on specific data in two separate fields

Hello, :wall: I have a 12 column csv file. I wish to delete the entire line if column 7 = hello and column 12 = goodbye. I have tried everything that I can find in all of my ref books. I know this does not work /^*,*,*,*,*,*,"hello",*,*,*,*,"goodbye"/d Any ideas? Thanks Please... (2 Replies)
Discussion started by: Chris Eagleson
2 Replies

8. Shell Programming and Scripting

sed to delete selected line from file

Ultimate goal is to delete lines from before and after a block of lines in a given file. First attempt was something like this: sed -e '1,/STARTUP/ d' inputfile.txt > outputfile.txt but that deleted everything down to and including the line with STARTUP. I need to delete everything before... (6 Replies)
Discussion started by: edstevens
6 Replies

9. Shell Programming and Scripting

sed command to grep multiple pattern present in single line and delete that line

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

10. Shell Programming and Scripting

How to delete line from file using sed command?

hello Team, I want to delete below linux using sed command but I am getting error.sed -i '/url=/status.cgi?hostgroup=/d' 3 error:sed: -e expression #1, char 32: unknown option to `s' Could you please help me with correct syntax. My line contain / character because of that I am getting... (4 Replies)
Discussion started by: ghpradeep
4 Replies
MUSCLE(1)							   Muscle Manual							 MUSCLE(1)

NAME
muscle - Multiple Protein Sequence Alignment SYNOPSIS
muscle -in input file (fasta) [-out output file (default fasta)] [-diags] [-log log file] [-maxiters n] [-maxhours n] [-maxmb m] [-html] [-msf] [-clw] [-clwstrict] [-log[a] logfile] [-quiet] [-stable] [-group] [-version] DESCRIPTION
This manual page documents briefly the muscle command. muscle aligns protein sequences and is considered superior and faster than Clustal W. OPTIONS
-in input file Path to FASTA formatted input file -out output file Path to output file, FASTA formatted by default -diags Find diagonals (faster for similar sequences) -maxiters n Maximum number of iterations (integer, default 16) -maxhours n Maximum time to iterate in hours (default no limit) -maxmb m Maximum memory to allocate in Mb (default 80% of RAM) -html Write output in HTML format (default FASTA) -msf Write output in MSF format (default FASTA) -clw Write output in Clustal W format (default FASTA) -clwstrict As -clw, with 'CLUSTAL W (1.81)' header -log[a] logfile Log to file (append if -loga, overwrite if -log) -quiet Do not write progress messages to stderr -stable Output sequences in input order (default is -group) -group Group sequences by similarity (this is the default) -version Display version information and exit SEE ALSO
clustalw(1), seaview(1), t_coffee(1). AUTHORS
Robert Elgar Wrote Muscle. Steffen Moeller <moeller@debian.org> Wrote this manpage. Charles Plessy <charles-debian-nospam@plessy.org> Updated this manpage. COPYRIGHT
Copyright (C) 2003, 2004 Steffen Moeller (manpage) Copyright (C) 2007, 2008 Charles Plessy (manpage) Muscle is in the public domain, and therefore not subjected to copyright. This manual page was written by Steffen Moeller moeller@debian.org for the Debian(TM) system (but may be used by others). Permission is granted to copy, distribute and/or modify this document as if it were in public domain. muscle 3.7 02/06/2008 MUSCLE(1)
All times are GMT -4. The time now is 04:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy