Write a command remove all empty lines?



Write a command remove all empty lines?..

Answer / guest

awk '^$ d {print $0}'

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Awk Interview Questions

What is the use of format specifier %d ?

1 Answers  


How do you Explicit File output?

0 Answers  


What are AWK Built-in Variables?

0 Answers  


What is the use of sequence <Any other character> ?

1 Answers  


What is the use of format specifier %o ?

1 Answers  






How to execute an AWK script?

0 Answers   Accenture,


What is the use of RSTART, RLENGTH and match ?

0 Answers  


How to print only blank line of file?

0 Answers  


What is the use of PRINTF?

0 Answers  


What is the use of numeric function rand ?

1 Answers  


What is the use of numeric function sin ?

1 Answers  


Write a command delete all line except first line?

1 Answers  


Categories