Join
the community
Sign-up

Sed

Search
Results 1 - 10 of about 10
  • Sed -  Delete one or more lines from a file

    Sed - Delete one or more lines from a file

    Unix utility SED provides an effective and a versatile way of deleting one or more lines from a designated file to match the needs of the user. This Unix... Read more

  • Converting DOS/UNIX and vice-versa

    There are several utility software to convert text files from UNIX or Linux to DOS operating systems and vice-versa; however, it always helps to know the... Read more

  • Inserting text in a file

    Inserting text in a file

    To meet programming needs, one may need to insert text in a text file at designated areas. Linux has SED , the utility which allows the programmer to... Read more

  • Sed - Tips and tricks

    Sed, or Stream Editor as it is commonly known, is mainly used for parsing text and transforming any text within a script. This feature of Sed is used in... Read more

  • SED - Numbering lines

    SED - Numbering lines

    Numbering lines (same as "cat -n file.txt") sed = file.txt The problem is that the display is effected on 2 lines. To set this as default: sed = file.txt |... Read more

  • Sed - inserting spaces

    Sed - inserting spaces

    Insert a blank line after each sentence (punctuated by a carriage return) sed G file.txt Insert a blank line after each sentence (punctuated by a carriage... Read more

  • SED -  Substitution

    SED - Substitution

    The substitute command:[ s. ]changes all occurrences of the regular expression into a new value. 1st match (each line) encountered only sed... Read more

  • Inserting a space between each letter

    Inserting a space between each letter

    Insert a space between each letter. $ echo -e "hello lifenand hello to you" | sed 's/./& /g' h el l o l i f e a n d h e l l o t o y o u The... Read more

  • Reg exp and sed

    Reg exp and sed

    Reg exp and sed How to replace a top line followed by two spaces with a newline (or 2)? I already tested several expression Sed 's / ^ + / \ n /... Read more

  • SED - Substitute values

    SED - Substitute values

    I need help for a SED command. I have a "test" file which includes this line: <Context antiJARLocking="true" reloadable="true" cookies="true"> I would like... Read more

Receive our newsletter

health.kioskea.net