On 4/7/14, 12:58 PM, Trey Henefield wrote:


I have found a reverse logic that works great! It translates the regex text back to actual text.

 

source ./templates/support.sh

populate login_banner_text

 

echo $login_banner_text | sed -e 's/\[\\s\\n\][+|*]/ /g' -e 's/\&/\&/g' -e 's/\\//g' -e 's/ - /\n- /g' >/etc/issue


This would be an *incredibly* useful patch... nudge nudge... ;)