diff options
Diffstat (limited to 'usr.bin/learn/lib/files/L5.1c')
-rw-r--r-- | usr.bin/learn/lib/files/L5.1c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/files/L5.1c b/usr.bin/learn/lib/files/L5.1c new file mode 100644 index 00000000000..39b88950421 --- /dev/null +++ b/usr.bin/learn/lib/files/L5.1c @@ -0,0 +1,26 @@ +#print +The "?" may appear anywhere in the name. +For example you can type + a?bc +to match the list of names + axbc, aybc, a3bc +and so forth. +But the number of characters must always agree. +How many of the following file names +are matched by "x?xx"? + x1xx, y1xx, x1xxa, xxx +Type "answer N" where N is the number of matching names. +You can experiment in the current directory to +check your answer before typing it. +#create x1xx +#create x1xxa +#create y1xx +#create xxx +#copyin +#user +#uncopyin +#match 1 +#log +#next +5.1d 0 +5.1e 5 |