Cleanup: formatting in strutils_star_glob_match explanation
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 17 Mar 2017 20:55:21 +0000 (16:55 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Mar 2017 21:06:25 +0000 (17:06 -0400)
Replace tabs for spaces in example scenario.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/string-utils.c

index d597da3db3fc396667b952bc75d9bd45c14d2b86..cc61038ff68e75ed7b06ad4a71757ca7cd9e9d93 100644 (file)
@@ -124,139 +124,139 @@ retry:
         * Example:
         *
         *     candidate: hi ev every onyx one
-        *              ^
+        *                ^
         *     pattern:   hi*every*one
-        *              ^
+        *                ^
         *
         *     candidate: hi ev every onyx one
-        *               ^
+        *                 ^
         *     pattern:   hi*every*one
-        *               ^
+        *                 ^
         *
         *     candidate: hi ev every onyx one
-        *                ^
+        *                  ^
         *     pattern:   hi*every*one
-        *                ^
+        *                  ^
         *
         *     candidate: hi ev every onyx one
-        *                ^
+        *                  ^
         *     pattern:   hi*every*one
-        *                 ^ MISMATCH
+        *                   ^ MISMATCH
         *
         *     candidate: hi ev every onyx one
-        *                 ^
+        *                   ^
         *     pattern:   hi*every*one
-        *                 ^
+        *                   ^
         *
         *     candidate: hi ev every onyx one
-        *                 ^^
+        *                   ^^
         *     pattern:   hi*every*one
-        *                 ^^
+        *                   ^^
         *
         *     candidate: hi ev every onyx one
-        *                 ^ ^
+        *                   ^ ^
         *     pattern:   hi*every*one
-        *                 ^ ^ MISMATCH
+        *                   ^ ^ MISMATCH
         *
         *     candidate: hi ev every onyx one
-        *                  ^
+        *                    ^
         *     pattern:   hi*every*one
-        *                 ^ MISMATCH
+        *                   ^ MISMATCH
         *
         *     candidate: hi ev every onyx one
-        *                   ^
+        *                     ^
         *     pattern:   hi*every*one
-        *                 ^ MISMATCH
+        *                   ^ MISMATCH
         *
         *     candidate: hi ev every onyx one
-        *                    ^
+        *                      ^
         *     pattern:   hi*every*one
-        *                 ^
+        *                   ^
         *
         *     candidate: hi ev every onyx one
-        *                    ^^
+        *                      ^^
         *     pattern:   hi*every*one
-        *                 ^^
+        *                   ^^
         *
         *     candidate: hi ev every onyx one
-        *                    ^ ^
+        *                      ^ ^
         *     pattern:   hi*every*one
-        *                 ^ ^
+        *                   ^ ^
         *
         *     candidate: hi ev every onyx one
-        *                    ^  ^
+        *                      ^  ^
         *     pattern:   hi*every*one
-        *                 ^  ^
+        *                   ^  ^
         *
         *     candidate: hi ev every onyx one
-        *                    ^   ^
+        *                      ^   ^
         *     pattern:   hi*every*one
-        *                 ^   ^
+        *                   ^   ^
         *
         *     candidate: hi ev every onyx one
-        *                         ^
+        *                           ^
         *     pattern:   hi*every*one
-        *                      ^
+        *                        ^
         *
         *     candidate: hi ev every onyx one
-        *                         ^
+        *                           ^
         *     pattern:   hi*every*one
-        *                       ^ MISMATCH
+        *                         ^ MISMATCH
         *
         *     candidate: hi ev every onyx one
-        *                          ^
+        *                            ^
         *     pattern:   hi*every*one
-        *                       ^
+        *                         ^
         *
         *     candidate: hi ev every onyx one
-        *                          ^^
+        *                            ^^
         *     pattern:   hi*every*one
-        *                       ^^
+        *                         ^^
         *
         *     candidate: hi ev every onyx one
-        *                          ^ ^
+        *                            ^ ^
         *     pattern:   hi*every*one
-        *                       ^ ^ MISMATCH
+        *                         ^ ^ MISMATCH
         *
         *     candidate: hi ev every onyx one
-        *                           ^
+        *                             ^
         *     pattern:   hi*every*one
-        *                       ^ MISMATCH
+        *                         ^ MISMATCH
         *
         *     candidate: hi ev every onyx one
-        *                            ^
+        *                              ^
         *     pattern:   hi*every*one
-        *                       ^ MISMATCH
+        *                         ^ MISMATCH
         *
         *     candidate: hi ev every onyx one
-        *                             ^
+        *                               ^
         *     pattern:   hi*every*one
-        *                       ^ MISMATCH
+        *                         ^ MISMATCH
         *
         *     candidate: hi ev every onyx one
-        *                              ^
+        *                                ^
         *     pattern:   hi*every*one
-        *                       ^ MISMATCH
+        *                         ^ MISMATCH
         *
         *     candidate: hi ev every onyx one
-        *                               ^
+        *                                 ^
         *     pattern:   hi*every*one
-        *                       ^
+        *                         ^
         *
         *     candidate: hi ev every onyx one
-        *                               ^^
+        *                                 ^^
         *     pattern:   hi*every*one
-        *                       ^^
+        *                         ^^
         *
         *     candidate: hi ev every onyx one
-        *                               ^ ^
+        *                                 ^ ^
         *     pattern:   hi*every*one
-        *                       ^ ^
+        *                         ^ ^
         *
         *     candidate: hi ev every onyx one
-        *                               ^  ^
+        *                                 ^  ^
         *     pattern:   hi*every*one
-        *                       ^  ^ SUCCESS
+        *                         ^  ^ SUCCESS
         */
        while ((c - candidate) < candidate_len && *c != '\0') {
                assert(*c);
This page took 0.030193 seconds and 4 git commands to generate.