- Package:
- bash-completion
- Source:
- bash-completion
- Submitter:
- Paul Wise
- Date:
- 2021-09-22 04:30:48 UTC
- Severity:
- normal
AFAICT the completion for ls misses the --full-time option: pabs@chianamo ~ $ ls --f --file-type --format= pabs@chianamo ~ $ ls --f ls: option '--f' is ambiguous; possibilities: '--full-time' '--format' '--file-type' Try `ls --help' for more information. pabs@chianamo ~ $ ls --full-time total 64K ...
It does indeed. The line where --full-time is in --help output trips
our _longopt function:
$ echo "--full-time like -l --time-style=full-iso" \
| sed -ne 's/.*\(--[-A-Za-z0-9]\{1,\}=\{0,1\}\).*/\1/p'
--time-style=
_parse_help would work better.
On Sat, 21 Apr 2012 10:32:22 +0300 =?ISO-8859-1?Q?Ville_Skytt=E4?= <ville.skytta@iki.fi> wrote:
Maybe use
grep -o '\(--[-A-Za-z0-9]\{1,\}=\{0,1\}\)' ?
Not sure if "grep -o" is portable as sed, maybe use grep where it has
--only-matching option ?
Regards
Hello, Good morning, We have gone through your samples from a partner and Here is our Order List. Please do bear in mind that we are very much in need of this order, quote your competitive prices. Kindly send the Order confirmation. Your early reply will be much appreciated. Best Regards, Maryanah Erwin. PT FINDORA INTERNUSA Jln Pahlawan 66 Kec. Arjawinangun 45162 CIREBON West-Java INDONESIA tel : +62 231 357334 fax: +62 231 357260 email: marketing@findora.com