[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
error-message change to `cut`
From: |
Tornax O7 |
Subject: |
error-message change to `cut` |
Date: |
Thu, 9 Jun 2022 17:04:59 +0200 |
Dear Sir or Madam,
I've a little suggestion for the `cut` tool. If I execute
```
echo "test" | cut -d s -c 1
```
then I'm getting the following error message:
```
cut: an input delimiter may be specified only when operating on fields
Try 'cut --help' for more information.
```
It took me some time to understand that the word `field` is referring to
the option `-f` for `fields`. It would be nice (at least in my opinion) to
add a little note that you're meaning the `-f` option. Something like this:
```
cut: an input delimiter may be specified only when operating on fields (the
`-f` option)
Try 'cut --help' for more information.
```
or:
```
cut: the `-d` option can only be used in combination with the `-f` option
Try 'cut --help' for more information.
```
Best Regards
Tornax
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- error-message change to `cut`,
Tornax O7 <=