Patterns in C: command