prolog-like commands correction

Bug #442288 reported by ororo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: bash

This is just for the "wishlist".

I have recently discovered a funny feature of Prolog: if you type a "wrong" command, the interpreter suggests you a correction:
e.g.

?- hall.
Correct to: "halt"? [y/n]

Maybe it is possible to implement such a feature in bash?
e.g.

?- nan myfile.txt.
Correct to: "nano"? [y/n]

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: bash 3.2-5ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: bash
Uname: Linux 2.6.28-13-generic i686

Revision history for this message
ororo (ororo) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

please send a patch to the upstream author

Changed in bash (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.