×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Sed: Difference between revisions

    Content added Content deleted
    imported>mutante
    mNo edit summary
    imported>Took
    m (example)
    Line 1: Line 1:
    = Beispiele =
    Alle Zeichen "=F1" und "=F2" in einer Datei durch "X" ersetzten

    cat text.txt | sed -r s/"(=F1)|(=F2)"/X/g

    oder, um [[UUOC]] zu vermeiden:

    sed -r s/"(=F1)|(=F2)"/X/g text.txt

    = Man-Page =
    <man>sed</man>
    <man>sed</man>



    Revision as of 10:23, 15 May 2006

    Beispiele

    Alle Zeichen "=F1" und "=F2" in einer Datei durch "X" ersetzten

    cat text.txt | sed -r s/"(=F1)|(=F2)"/X/g
    

    oder, um UUOC zu vermeiden:

    sed -r s/"(=F1)|(=F2)"/X/g text.txt
    


    Man-Page

    <man>sed</man>

    see also: mansearch, man2html

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.