Complete sed command | Delete empty lines in a file using sed command

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024
  • Complete course on udemy:
    www.udemy.com/...

Комментарии • 6

  • @dropletstopearls
    @dropletstopearls 10 месяцев назад

    It is very much help and well explained

  • @ankamanirudh8837
    @ankamanirudh8837 Год назад

    Excellent

  • @DesireeCortezThomas
    @DesireeCortezThomas 3 года назад

    Thank you this was helpful

  • @shankelly2970
    @shankelly2970 5 лет назад

    Great Job

  • @azharsha3476
    @azharsha3476 Год назад

    Hi how could i delete the empty line at end of the file in example
    I need to use tail -1 in my file ,so if I have too many blank line in my file means I need to delete all the line and create new blank line to get the tail -1 because tail -1 have the validations could pls help me out ?

  • @vikasmahour6059
    @vikasmahour6059 Год назад

    Thanks for your vedios.
    I am stuck in a problem .
    My XMl FIle contains data like :

    1234


    2345


    8787987


    89898


    80098

    I want to arrange my xml file such that the tags and should be in a single line without space.

    1234


    2345

    8787987

    89898

    80098
    Tried many sed commands but no luck.Please help me to resolve it .