why not have a temporary file that you just concat to /etc/bash.bashrc
?
cat /tmp/posix-opt.txt >> /etc/bash.bashrc
(this will add /tmp/posix-opt.txt (which contains uncommented line) to /etc/bash.bashrc )
If not possible
n=$(grep -n 'shopt -oq posix' /etc/bash.bashrc)
sed -i -e "$n,$(($n + 7))s/^#//" /etc/bash.bashrc
this is the same as in vi, you just need the grep to get line number.
notice however, that should there be 2 lines containing "shopt -oq posix" the script will break.
Echando un vistazo al código fuente del archivo XF86keysym.h
, y esta tabla parece ser exactamente lo que el nombre supone de una manera muy sugerente :Los símbolos del teclado para "Correo " e "Internet" (algunos de ellos tienen impresa la "E" de Internet Explorer):
#define XF86XK_Mail 0x1008FF19 /* Invoke user's mail program */
#define XF86XK_WWW 0x1008FF2E /* Invoke web browser */
Corresponden a teclas dedicadas disponibles en algunos teclados, generalmente en un grupo de teclas "multimedia" (véase, por ejemplo, este teclado de Microsoft con "teclas de acceso rápido a Internet y correo electrónico" ); XF86Mail
es la tecla asignada para acceder al correo electrónico, XF86WWW
la tecla asignada para iniciar un navegador web.