src/lib/util.c
void
bash_spaces(char *str)
{
   while (*str) {
      if (*str == ' ')
         *str = 0x1;
      str++;
   }
}
/* Convert spaces to non-space character.
 * This makes scanf of fields containing spaces easier.
 */
Convert spaces to non-space character.
This makes scanf of fields containing spaces easier.
Convert spaces to non - space character . This makes scanf of fields containing spaces easier .
void
bash_spaces(char *str)
{
   while (*str) {
      if (*str == ' ')
         *str = 0x1;
      str++;
   }
}
void bash_spaces ( char * str ) { while ( * str ) { if ( * str == ' ' ) * str = 0x1 ; str ++ ; } }
Convert spaces to non-space character.
Convert spaces to non - space character .