Thread
:
bashrc overwritten
View Single Post
wolke
2012-01-22 , 23:53
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#
3
after more extensive testing, it seems that ANY line that matches the perl regex:
Code:
(.*)PS1=(.*):(.*)
will be replaced with
Code:
$1PS1=$x:$2
where $x is something like
Code:
\h-40-4_PR_005
including comments...
#no PS1=.*:.* line, so n9 wont kill it
=>
#no PS1='\h-40-4_PR_005:.* line, so n9 wont kill it
this is SO stupid its incredible..
Quote & Reply
|
The Following User Says Thank You to wolke For This Useful Post:
YavkatA
wolke
View Public Profile
Send a private message to wolke
Find all posts by wolke