diff --git a/doc_src/history.txt b/doc_src/history.txt index 62c096b37..192bfd191 100644 --- a/doc_src/history.txt +++ b/doc_src/history.txt @@ -38,7 +38,7 @@ These flags can appear before or immediately after one of the sub-commands liste - `-p` or `--prefix` searches or deletes items in the history that begin with the specified text string. This is not currently supported by the `--delete` flag. -- `-t` or `--show-time` prepends each history entry with the date and time the entry was recorded . By default it uses the strftime format `# %c%n`. You can specify another format; e.g., `--show-time="%Y-%m-%d %H:%M:%S "` or `--show-time="%a%I%p"`. The short option, `-t`, doesn't accept a stftime format string; it only uses the default format. Any strftime format is allowed, including `%s` to get the raw UNIX seconds since the epoch. +- `-t` or `--show-time` prepends each history entry with the date and time the entry was recorded. By default it uses the strftime format `# %c%n`. You can specify another format; e.g., `--show-time="%Y-%m-%d %H:%M:%S "` or `--show-time="%a%I%p"`. The short option, `-t`, doesn't accept a strftime format string; it only uses the default format. Any strftime format is allowed, including `%s` to get the raw UNIX seconds since the epoch. - `-z` or `--null` causes history entries written by the search operations to be terminated by a NUL character rather than a newline. This allows the output to be processed by `read -z` to correctly handle multiline history entries. @@ -59,7 +59,7 @@ history search --contains "foo" history delete --prefix "foo" # Interactively deletes commands which start with "foo" from the history. -# You can select more than one entry by entering their IDs seperated by a space. +# You can select more than one entry by entering their IDs separated by a space. \endfish \subsection customizing-the-histfile Customizing the name of the history file