Results 1 to 2 of 2
Thread: script deletes empy lines
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Sep 2011
script deletes empy lines
#!/bin/bash echo Enter file name read x a=$(sed '/^$/d' "$x") "$a" > "$x"
It is difficult to understand what you are asking for here. I take it your first language isn't English? Your question isn't easy to read.
I'd also like to remind you that you are not allowed to ask homework questions here.Linux user #126863 - see http://linuxcounter.net/