💻 Software
Is there a way to preprocess input to bash?
Fresh5 days ago
Mar 15, 20261517 viewsConfidence Score0%
0%
Problem
I would like to be able to define arbitrary modifications to command lines that happen before bash sees them at all, ie, before expansion of any kind. Is this possible? I'm not trying to solve one particular problem, I'm really just curious if it is possible to obtain exactly this functionality wit…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is there a way to preprocess input to bash?
Low Risk
I would suggest that you investigate the possibility of binding the readline function (Ctrl-m) into the Bash completion facility (readline ) where you would be able to process the line and should be able to execute it from there.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix