Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash remove empty line

sed -r '/^s*$/d'
Comment

linux remove empty lines

sed -i '/^$/d' [file_name]
Comment

how to remove blank lines in bash

grep "S" file.txt
Comment

bash how to delete blank lines

sed -i '/^$/d' foo
Comment

PREVIOUS NEXT
Code Example
Shell :: install git 2 on centos 7 
Shell :: how to install redis on manjaro 
Shell :: how to install mongoose 
Shell :: find which service is using port 
Shell :: change zsh to bash 
Shell :: how to stop port 3000 in windows 
Shell :: nginx post size 
Shell :: if argument exists bash 
Shell :: Node version mac1000 
Shell :: install sdkman ubuntu 
Shell :: uninstall pm2 
Shell :: ubuntu no bluetooth found 
Shell :: install wkhtmltopdf mac 
Shell :: uninstall cheese ubuntu 20.04 
Shell :: migrate fresh 
Shell :: how to uninstall global package npm 
Shell :: brew node update 
Shell :: delete conda from machine 
Shell :: teclado abnt arch linux 
Shell :: how to get the temp of cpu in linux terminal raspberry pi 
Shell :: pip install psycopg2 error fedora 
Shell :: bash unzip all files 
Shell :: shell promt user input 
Shell :: how to uninstall miniconda ubuntu 
Shell :: bash check if process is running by name 
Shell :: docker output ps format 
Shell :: nx: command not found 
Shell :: git stash remove 
Shell :: pip install tkinter 
Shell :: bash firebase command not found 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =