Skip to content

Commit 8dc0edd

Browse files
known issues info changed as per fixes
1 parent 704775e commit 8dc0edd

File tree

1 file changed

+21
-42
lines changed

1 file changed

+21
-42
lines changed

README.md

Lines changed: 21 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,18 @@ $ ch find -mtime
121121
affects the interpretation of file modification times.
122122
```
123123

124+
* `man` pages with short and long option both starting with single -
125+
126+
```bash
127+
$ ch rename -verbose -n
128+
rename - renames multiple files
129+
130+
-v, -verbose
131+
Verbose: print names of files successfully renamed.
132+
-n, -nono
133+
No action: print names of files to be renamed, but don't rename.
134+
```
135+
124136
* Multiple arguments
125137
126138
```bash
@@ -220,53 +232,20 @@ $ # ideally, it should be
220232
* special characters
221233
222234
```bash
223-
$ # should have extracted only option line instead of word search
224-
$ ch printf %%
225-
printf - format and print data
226-
227-
\UHHHHHHHH
228-
Unicode character with hex value HHHHHHHH (8 digits)
229-
230-
%% a single %
231-
232-
%b ARGUMENT as a string with '\' escapes interpreted, except that octal escapes are of the form \0 or
233-
\0NNN
234-
235-
$ # similarly, doesn't recognize escaped sequences like \a, \e and so on
236-
$ ch printf \e
237-
printf - format and print data
238-
239-
240-
\c produce no further output
241-
242-
\e escape
243-
244-
\f form feed
245-
```
246-
247-
* `man` pages with short and long option both starting with single -
248-
249-
```bash
250-
$ # it is treated as seven single options: `-v`, `-e`, `-r`, `-b`, `-o`, `-s` and `-e`
251-
$ # also note, no check for repetitive options given
252-
$ ch rename -verbose
253-
rename - renames multiple files
254-
255-
-v, -verbose
256-
Verbose: print names of files successfully renamed.
257-
258-
-e Expression: code to act on files name.
259-
260-
261-
262-
263-
264-
-e Expression: code to act on files name.
235+
$ # should have extracted only option line
236+
$ ch printf %b
237+
printf - Formats and prints ARGUMENTS under control of the FORMAT.
238+
239+
%b expand backslash escape sequences in the corresponding argument
240+
%q quote the argument in a way that can be reused as shell input
241+
%(fmt)T output the date-time string resulting from using FMT as a format
242+
string for strftime(3)
265243
```
266244
267245
* option matching text of another option description
268246
269247
```bash
248+
$ # depends on width of terminal, this issue seen on 120 as width
270249
$ ch sort -V
271250
sort - sort lines of text files
272251

0 commit comments

Comments
 (0)