hallo senior !! can u help me !! i duno how to delete empty space for using awk script!!
echo 'Can I Help you' | awk '{ORS="";for (i=1;i<=NF;i++) print $i}'
I hope the above will help you.
Using solaris nawk (should also work with gawk):
echo 'Can I Help you' | nawk '{gsub(" ","");print}'
no i mean is white space mean that line is empty line !!
That's why you should always provide sample input and expected output while asking questions.
$ cat in.txt
mgr1.dbf
tool.dbf
usR.dbf
$
$ cat in.txt |awk '$0 !~ /^ *$/'
mgr1.dbf
tool.dbf
usR.dbf
what mean for this i not understand it !!
mgr1.dbf
tool.dbf
usR.dbf