Mercurial > repos > bgruening > text_processing
comparison sed.xml @ 13:3c685c4106b3 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
| author | bgruening |
|---|---|
| date | Wed, 23 Nov 2016 15:59:02 -0500 |
| parents | 062ed2bb4f2e |
| children | 7725ab6dab67 |
comparison
equal
deleted
inserted
replaced
| 12:062ed2bb4f2e | 13:3c685c4106b3 |
|---|---|
| 1 <tool id="tp_sed_tool" name="Text transformation" version="@BASE_VERSION@.0"> | 1 <tool id="tp_sed_tool" name="Text transformation" version="@BASE_VERSION@.0"> |
| 2 <description>with sed</description> | 2 <description>with sed</description> |
| 3 <macros> | 3 <macros> |
| 4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
| 5 </macros> | 5 </macros> |
| 6 <expand macro="requirements"> | 6 <requirements> |
| 7 <requirement type="package" version="4.2.2">sed</requirement> | 7 <requirement type="package" version="4.2.3.dev0">sed</requirement> |
| 8 </expand> | 8 </requirements> |
| 9 <version_command>sed --version | head -n 1</version_command> | 9 <version_command>sed --version | head -n 1</version_command> |
| 10 <command> | 10 <command> |
| 11 <![CDATA[ | 11 <![CDATA[ |
| 12 sed | 12 sed |
| 13 --sandbox | 13 --sandbox |
| 18 -f '$sed_script' | 18 -f '$sed_script' |
| 19 '$infile' | 19 '$infile' |
| 20 > '$output' | 20 > '$output' |
| 21 ]]> | 21 ]]> |
| 22 </command> | 22 </command> |
| 23 <configfiles> | |
| 24 <configfile name="sed_script"> | |
| 25 $code | |
| 26 </configfile> | |
| 27 </configfiles> | |
| 23 <inputs> | 28 <inputs> |
| 24 <param format="txt" name="infile" type="data" label="File to process" /> | 29 <param format="txt" name="infile" type="data" label="File to process" /> |
| 25 <param name="code" type="text" area="true" size="5x35" label="SED Program" help=""> | 30 <param name="code" type="text" area="true" size="5x35" label="SED Program" help=""> |
| 26 <sanitizer> | 31 <sanitizer> |
| 27 <valid initial="string.printable"> | 32 <valid initial="string.printable"> |
| 41 <option value="-n">silent</option> | 46 <option value="-n">silent</option> |
| 42 </param> | 47 </param> |
| 43 </when> | 48 </when> |
| 44 </conditional> | 49 </conditional> |
| 45 </inputs> | 50 </inputs> |
| 46 <configfiles> | |
| 47 <configfile name="sed_script"> | |
| 48 $code | |
| 49 </configfile> | |
| 50 </configfiles> | |
| 51 <outputs> | 51 <outputs> |
| 52 <data name="output" format_source="infile" metadata_source="infile" /> | 52 <data name="output" format_source="infile" metadata_source="infile" /> |
| 53 </outputs> | 53 </outputs> |
| 54 <tests> | 54 <tests> |
| 55 <test> | 55 <test> |
| 82 | 82 |
| 83 - Short sed tutorial (http://www.linuxhowtos.org/System/sed_tutorial.htm) | 83 - Short sed tutorial (http://www.linuxhowtos.org/System/sed_tutorial.htm) |
| 84 - Long sed tutorial (http://www.grymoire.com/Unix/Sed.html) | 84 - Long sed tutorial (http://www.grymoire.com/Unix/Sed.html) |
| 85 - sed faq with good examples (http://sed.sourceforge.net/sedfaq.html) | 85 - sed faq with good examples (http://sed.sourceforge.net/sedfaq.html) |
| 86 - sed cheat-sheet (http://www.catonmat.net/download/sed.stream.editor.cheat.sheet.pdf) | 86 - sed cheat-sheet (http://www.catonmat.net/download/sed.stream.editor.cheat.sheet.pdf) |
| 87 - Collection of useful sed one-liners (http://student.northpark.edu/pemente/sed/sed1line.txt) | |
| 88 | 87 |
| 89 ----- | 88 ----- |
| 90 | 89 |
| 91 **Sed commands** | 90 **Sed commands** |
| 92 | 91 |
