help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to exclude results from PS0\1 \ PROMPT_COMMAND


From: Alex fxmbsw7 Ratchev
Subject: how to exclude results from PS0\1 \ PROMPT_COMMAND
Date: Thu, 11 Mar 2021 19:54:37 +0100

i tried, print $user_cmd in PS0 which is set by PROMPT_COMMAND
user_cmd=$BASH_COMMAND but it runs twice, once for my interactive entered
command, but also for the bash prompt command line

how to exclude such ? must i grep -v the whole or something ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]