Iram CHELLI wrote: > Hello, > > > i am using wc in shell scripts > > the exact command is: > > wc FILE | cut -d " " -f 2
You probably want to squeeze adjacent blanks: wc FILE | tr -s '[:blank:]' ' ' | cut -d' ' -f2 cheers, Pádraig. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils