Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

750 Zeilen
19 KiB

  1. #!/bin/bash
  2. # If not running interactively, don't do anything
  3. [[ $- != *i* ]] && return
  4. ##########################################
  5. null(){
  6. "$@" >/dev/null 2>&1
  7. }
  8. __try_exec(){
  9. type $1 >/dev/null 2>&1 && "$@"
  10. }
  11. ##########################
  12. # system type
  13. alias ismsys=false
  14. alias iscygwin=false
  15. alias iswindows=false
  16. alias isdarwin=false
  17. alias islinux=false
  18. alias with_coreutils=false # for mac
  19. case `uname` in
  20. (MINGW*) alias ismsys=true ;;
  21. (CYGWIN*) alias iscygwin=true ;;
  22. (Darwin*) alias isdarwin=true ;;
  23. (Linux*) alias islinux=true ;;
  24. esac
  25. null ls --version && alias with_coreutils=true
  26. ( ismsys || iscygwin ) && alias iswindows=true
  27. #################################
  28. if false iswindows
  29. then
  30. export PAGER='tr -d \\r | less'
  31. else
  32. export PAGER="less"
  33. fi
  34. export LESS="-iRMX"
  35. if null type vim
  36. then
  37. export EDITOR=vim
  38. else
  39. export EDITOR=vi
  40. fi
  41. export LANG=ja_JP.UTF-8
  42. export LC_MESSAGES=C
  43. # export CDPATH=".:~"
  44. export VISUAL="$EDITOR"
  45. export GIT_PAGER="less -F"
  46. export GIT_EDITOR="$EDITOR"
  47. if test -n "$TMUX" && \
  48. test -n "tmux display -p '#{client_termname}' | grep -o 256color"
  49. then
  50. TERM=screen-256color
  51. fi
  52. test -z "$TMP" && export TMP=/tmp/${USER}-tmp
  53. mkdir -p "$TMP"
  54. ! iswindows && null type stty && {
  55. stty stop undef # unbind C-s to stop displaying output
  56. # stty erase '^h'
  57. }
  58. if iswindows; then
  59. # export PS1=" \[\e[32m\]\u@\H \[\e[33m\]\w\[\e[0m\] \d \t\n\s \# \j \$ "
  60. # export PS1=" [\[\e[33m\]\w\[\e[0m\]]\n\[\e[32m\]\u@\H\[\e[0m\] \d \t \s.\v\nhist:\# jobs:\j \$ "
  61. export USER=$USERNAME
  62. fi
  63. _tmux_prefs(){
  64. null type tmux || return 1
  65. tmux set -g mode-keys vi
  66. }
  67. #######################
  68. iswindows && alias tty="echo cmd.exe"
  69. type fortune >/dev/null 2>&1 && {
  70. fortune
  71. echo
  72. fortune -o
  73. echo
  74. }
  75. uname -a
  76. echo TERM $TERM $(tput colors) colors connected to $(tty), running $BASH $BASH_VERSION
  77. echo
  78. ###################################
  79. # some aliases and functions
  80. ( ! with_coreutils && isdarwin ) || test "$TERM" == dumb || _coloroption=" --color=auto"
  81. ( ! with_coreutils && isdarwin ) || iswindows || _timeoption=" --time-style=long-iso"
  82. ( ! with_coreutils && isdarwin ) || _hideoption=" --hide=[A-Z]*" # do not use
  83. _timeformat_iso="%Y-%m-%dT%H:%M:%S%z"
  84. _timeformat_rfc2822="%a, %d %b %Y %T %z"
  85. alias ls="ls -hCF${_coloroption}${_timeoption}"
  86. # export GREP_OPTIONS=""
  87. alias gr="grep -n --color=always"
  88. iswindows && alias grep="grep -n"
  89. # alias ll="ls -l"
  90. # alias la="ls -A"
  91. # alias lla="ls -Al"
  92. alias less="less -F"
  93. alias em="emacs -nw"
  94. null type vim && alias vi=vim
  95. alias pstree="LANG=C pstree"
  96. alias cp="cp -v"
  97. alias mv="mv -v"
  98. alias rm="rm -v"
  99. alias psaux="ps auxww"
  100. alias q=exit
  101. alias e3=e3em
  102. #alias dirs="dirs -v -l | \grep -v \$(printf '%s$' \$PWD)"
  103. alias po=popd
  104. alias pu=pushd
  105. alias sudo="sudo " # use aliases through sudo
  106. alias sudoe="sudoedit"
  107. alias halt="sudo halt"
  108. alias reboot="sudo reboot"
  109. alias suspend="dbus-send --system --print-reply --dest=org.freedesktop.UPower \
  110. /org/freedesktop/UPower org.freedesktop.UPower.Suspend"
  111. alias hibernate="dbus-send --system --print-reply --dest=org.freedesktop.UPower \
  112. /org/freedesktop/UPower org.freedesktop.UPower.Hibernate"
  113. alias rand="echo \$RANDOM"
  114. alias xunp="file-roller -h"
  115. alias pc="sudo \paco -D"
  116. alias pycalc="python -i -c 'from math import *' "
  117. alias py3=python3
  118. alias py2=python2
  119. alias _reloadrc="test -f ~/.bashrc && source ~/.bashrc"
  120. # alias mytime="date +%Y%m%d-%H%M%S"
  121. alias sh="ENV=$HOME/.shrc PS1=\$\ PROMPT_COMMAND="" sh"
  122. # type trash >/dev/null 2>&1 && alias rm=trash
  123. alias mpg123="mpg123 -C -v --title"
  124. alias xm="xmms2"
  125. #export PLAYER="mpg123 -C -v --title"
  126. null type screen && alias screen="screen -e^z^z"
  127. alias zcd="cd \`zenity --file-selection --directory\`"
  128. null type gtags && alias gtags="gtags --verbose"
  129. null type htags && alias htags="htags --xhtml --symbol --line-number \
  130. --frame --alphabet --verbose"
  131. alias pad=notepad
  132. null type gedit && alias pad=gedit
  133. null type leafpad && alias pad=leafpad
  134. isdarwin && alias pad="open -e"
  135. alias wic=wicd-curses
  136. alias wil="wicd-cli -y -l | head"
  137. #alias wicn="wicd-cli -y -c -n"
  138. wicn(){
  139. if test $# -eq 0
  140. then
  141. local num
  142. wicd-cli -y -l | head
  143. echo -n "input num: "
  144. read num
  145. test -n "$num" && wicd-cli -y -c -n $num
  146. else
  147. wicd-cli -y -c -n $1
  148. fi
  149. }
  150. alias aptin="apt-get install"
  151. alias aptsearch="apt-cache search"
  152. alias aptshow="apt-cache show"
  153. for f in /usr/share/vim/vimcurrent/macros/less.sh \
  154. /usr/share/vim/vim73/macros/less.sh \
  155. /usr/share/vim/vim72/macros/less.sh
  156. do
  157. test -f $f && alias vl=$f && break
  158. done
  159. alias yt=yaourt
  160. null type pacman-color && {
  161. alias pacman=pacman-color
  162. export pacman_program=pacman-color # used by pacmatic
  163. export PACMAN=pacman-color # used by yaourt
  164. }
  165. null type pacmatic && {
  166. alias pacman="pacmatic"
  167. export PACMAN="pacmatic"
  168. }
  169. null type apt-get && \
  170. alias aupgrade="sudo apt-get autoremove --yes && sudo apt-get update --yes && sudo apt-get upgrade --yes"
  171. null type port && \
  172. alias port="port -v"
  173. alias pupgrade="sudo port -v selfupdate && { sudo port -v upgrade outdated; }"
  174. if iscygwin; then
  175. null type windate || alias windate="/c/Windows/System32/cmd.exe //c 'echo %DATE%-%TIME%'"
  176. alias cygsu="cygstart /cygwinsetup.exe"
  177. alias emacs="CYGWIN=tty emacs -nw"
  178. alias ls="ls -CFG $(iswindows || test "$TERM" == dumb || echo --color=auto)"
  179. fi
  180. alias g=git
  181. if null type _git
  182. then
  183. # enable programmable completion for g
  184. complete -o bashdefault -o default -o nospace -F _git g 2>/dev/null \
  185. || complete -o default -o nospace -F _git g
  186. fi
  187. alias setup.py="sudo python3 setup.py install --record files.txt"
  188. man() {
  189. env \
  190. LESS_TERMCAP_mb=$(printf "\e[1;35m") \
  191. LESS_TERMCAP_md=$(printf "\e[1;31m") \
  192. LESS_TERMCAP_me=$(printf "\e[0m") \
  193. LESS_TERMCAP_se=$(printf "\e[0m") \
  194. LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
  195. LESS_TERMCAP_ue=$(printf "\e[0m") \
  196. LESS_TERMCAP_us=$(printf "\e[1;32m") \
  197. man "$@"
  198. }
  199. scr(){
  200. _tformat="%Y%m%d-%H%M%S%z"
  201. _file=`date +${_tformat}`.script
  202. SCRIPT=${_file} script ${_file} "$@"
  203. }
  204. netwait(){
  205. while ! ping -c 1 -t 1 example.com
  206. do
  207. true
  208. done
  209. echo network works.
  210. }
  211. cd(){
  212. if test $# -eq 0
  213. then
  214. pushd ~/ >/dev/null
  215. elif test $1 = -
  216. then
  217. local pwd="$PWD"
  218. command cd $OLDPWD
  219. pushd -n "$pwd" >/dev/null # stack last dir
  220. elif ! test -d "$1"
  221. then
  222. echo `basename ${SHELL}`: cd: "$1": No such file or directory 1>&2
  223. return 1
  224. else
  225. pushd "$1" >/dev/null
  226. fi
  227. __dirs_rm_dup "$PWD"
  228. echo "$PWD"
  229. }
  230. __dirs_rm_dup(){
  231. for d in "$@"
  232. do
  233. local next="$(__realpath --strip "$d")"
  234. for l in $(\dirs -v -l | cut -d $'\n' -f 2- | \grep -x " *[0-9]\+ \+${next}" | \grep -o "^ *[0-9]\+ " | tac)
  235. do
  236. popd +$l -n >/dev/null
  237. done
  238. done
  239. }
  240. __realpath(){
  241. if type realpath >/dev/null 2>&1
  242. then
  243. command realpath "$@"
  244. else
  245. while ! test -d $1
  246. do
  247. shift
  248. done
  249. local d="$OLDPWD"
  250. command cd "$1"
  251. echo "$PWD"
  252. command cd "$d"
  253. fi
  254. }
  255. dh(){
  256. if test $# -eq 0
  257. then
  258. dirs -v -l
  259. else
  260. local dir="$(dirs -v -l | \grep "^ *$1 \+" | sed "s/^ *[0-9]* *//g")"
  261. cd "$dir"
  262. fi
  263. }
  264. input(){
  265. local foo
  266. stty -echo
  267. read foo
  268. stty echo
  269. echo $foo
  270. }
  271. tmux(){
  272. if test $# -eq 0
  273. then
  274. (cd ~; command tmux start;)
  275. if command tmux has -t main
  276. then
  277. command tmux attach -t main
  278. else
  279. (cd ~; command tmux new -s main;)
  280. fi
  281. else
  282. command tmux "$@"
  283. fi
  284. }
  285. mcrypt-stream(){
  286. test $# -eq 2 || return 1
  287. case $1 in
  288. en)
  289. mcrypt --key $2 | base64 ;;
  290. de)
  291. base64 -d | mcrypt -d --key $2 ;;
  292. esac
  293. }
  294. gpg-stream(){
  295. test $# -eq 2 || return 1
  296. case $1 in
  297. en)
  298. gpg --passphrase $2 -c --batch |base64 ;;
  299. de)
  300. base64 -d|gpg --passphrase $2 -d --batch ;;
  301. esac
  302. }
  303. dgpg(){
  304. if test "$1" = help || test -z "$2"
  305. then
  306. echo "dgpg: dgpg <en|de> <src-suffix> [<dst-suffix>]"
  307. return
  308. fi
  309. local srcs="$2"
  310. local dsts="$3"
  311. test -z "$dsts" && dsts="${srcs}.out"
  312. local pw
  313. echo -n "dgpg pw: "
  314. read -s pw
  315. echo ""
  316. test -z "$pw" && return 1
  317. for f in *${srcs}
  318. do
  319. local d="$(basename "$f" "${srcs}")${dsts}"
  320. echo -n "Processing $f to $d..."
  321. if test -d "$f"
  322. then
  323. echo "`printf 'failed (%s is directory)' $f`"
  324. elif test -f "$d"
  325. then
  326. echo "`printf 'failed (%s is already exists)' $d`"
  327. elif <"$f" gpg-stream $1 $pw >"$d" 2>/dev/null
  328. then
  329. echo "done"
  330. else
  331. echo "failed"
  332. test -f "$d" && rm "$d"
  333. fi
  334. done
  335. }
  336. alias enst="gpg-stream en"
  337. alias dest="gpg-stream de"
  338. showinfo(){
  339. echo "Japanese letters are 表示可能"
  340. __try_exec diskinfo
  341. ! isdarwin && test -n "${DISPLAY}" && {
  342. __try_exec xrandr | \grep --color=never ^Screen
  343. }
  344. iswindows || __try_exec finger $USER
  345. LANG=C __try_exec id
  346. __try_exec xset q
  347. }
  348. x(){
  349. if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then
  350. #mkdir -p ~/.my/log
  351. # nohup startx >~/.my/log/xorg.log 2>&1 &
  352. # exit
  353. exec startx
  354. else
  355. echo "X cant be started! Maybe another X is already running or something." 1>&2
  356. fi
  357. }
  358. bak(){
  359. for file in "$@"
  360. do
  361. cp -v ${file} ${file}.bak
  362. done
  363. }
  364. di(){
  365. if type colordiff >/dev/null 2>&1 && test $TERM != dumb
  366. then
  367. local diffcmd=colordiff
  368. else
  369. local diffcmd=diff
  370. fi
  371. ${diffcmd} -u "$@" | ${PAGER}
  372. }
  373. tb(){
  374. local tb="$HOME/.my/tb"
  375. mkdir -p "$tb"
  376. for file in "$@"
  377. do
  378. mv -t "$tb" "$file"
  379. done
  380. }
  381. mkcd(){
  382. mkdir -p $1
  383. cd $1
  384. }
  385. if test -n "$TMUX" && null type reattach-to-user-namespace
  386. then
  387. alias pbpaste="reattach-to-user-namespace pbpaste"
  388. alias pbcopy="reattach-to-user-namespace pbcopy"
  389. fi
  390. catclip(){
  391. if iswindows
  392. then
  393. cat /dev/clipboard | tr -d \\r
  394. elif isdarwin
  395. then
  396. pbpaste
  397. else
  398. xclip -o -selection "clipboard"
  399. fi
  400. }
  401. setclip(){
  402. if iswindows
  403. then
  404. if test $# -eq 0
  405. then
  406. sed -e 's/$/\r/' | tee /dev/clipboard
  407. else
  408. cat "$@" | sed -e 's/$/\r/' | tee /dev/clipboard
  409. fi
  410. elif isdarwin
  411. then
  412. if test $# -eq 0
  413. then
  414. pbcopy
  415. else
  416. cat "$@" | pbcopy
  417. fi
  418. else
  419. if test $# -eq 0
  420. then
  421. xclip -i -f -selection "primary" | xclip -i -f -selection "clipboard"
  422. else
  423. cat "$@" | xclip -i -f -selection "primary" | xclip -i -f -selection "clipboard"
  424. fi
  425. fi
  426. }
  427. open_file(){
  428. if iswindows
  429. then
  430. cmd.exe //c start "" "$@"
  431. elif isdarwin
  432. then
  433. touch "$@"
  434. open "$@"
  435. elif islinux
  436. then
  437. touch "$@"
  438. if null type pcmanfm; then
  439. LC_MESSAGES= pcmanfm "$@"
  440. else
  441. LC_MESSAGES= xdg-open "$@" &
  442. fi
  443. else
  444. cat "$@"
  445. fi
  446. }
  447. o(){
  448. if test $# -eq 0
  449. then
  450. open_file .
  451. else
  452. for f in "$@"
  453. do
  454. open_file "$(realpath "$f")"
  455. done
  456. fi
  457. }
  458. convmv-sjis2utf8-test(){
  459. convmv -r -f sjis -t utf8 *
  460. }
  461. convmv-sjis2utf8-notest(){
  462. convmv -r -f sjis -t utf8 * --notest
  463. }
  464. #Change ANSI Colors
  465. _chengecolors(){
  466. echo -e \
  467. "\e]P0000000" \
  468. "\e]P1cd0000" \
  469. "\e]P200cd00" \
  470. "\e]P3cdcd00" \
  471. "\e]P41e90ff" \
  472. "\e]P5cd00cd" \
  473. "\e]P600cdcd" \
  474. "\e]P7353535" \
  475. "\e]P8666666" \
  476. "\e]P9ff9999" \
  477. "\e]Pa99ff99" \
  478. "\e]Pbffff99" \
  479. "\e]Pc9999ff" \
  480. "\e]Pdff99ff" \
  481. "\e]Pe99ffff" \
  482. "\e]Pfffffff"
  483. }
  484. # printf "\e]P7353535" \
  485. _colors(){
  486. echo -e \
  487. "\e[30mBlack" \
  488. "\e[31mRed" \
  489. "\e[32mGreen" \
  490. "\e[33mYellow" \
  491. "\e[34mBlue" \
  492. "\e[35mMagenta" \
  493. "\e[36mCyan" \
  494. "\e[37mWhite"
  495. echo -e \
  496. "\e[30;1mBright Black" \
  497. "\e[31;1mBright Red" \
  498. "\e[32;1mBright Green" \
  499. "\e[33;1mBright Yellow" \
  500. "\e[34;1mBright Blue" \
  501. "\e[35;1mBright Magenta" \
  502. "\e[36;1mBright Cyan" \
  503. "\e[37;1mBright White\n" \
  504. "\e[0m"
  505. }
  506. winln(){
  507. # for windose make link (actually junction)
  508. if test $# -eq 0
  509. then
  510. {
  511. echo "usage: winln TARGET LINK_NAME"
  512. echo "Create a link to TARGET with the name LINK_NAME (that is, TARGET must already exist)."
  513. echo "About other features run 'junction'."
  514. } 1>&2
  515. return 1
  516. else
  517. junction "$2" "$1"
  518. fi
  519. }
  520. __my_moc_state(){
  521. type mocp >/dev/null 2>&1 || return
  522. test "`mocp -Q %state 2>/dev/null`" == PLAY || return
  523. printf "$1" "`mocp -Q %title 2>/dev/null`"
  524. }
  525. __my_parse_svn_branch() {
  526. local LANG=C
  527. local svn_url=$(svn info 2>/dev/null | sed -ne 's#^URL: ##p')
  528. local svn_repository_root=$(svn info 2>/dev/null | sed -ne 's#^Repository Root: ##p')
  529. echo ${svn_url} | sed -e 's#^'"${svn_repository_root}"'##g' | awk '{print $1}'
  530. }
  531. __my_svn_ps1(){
  532. if svn status >/dev/null 2>&1
  533. then
  534. local svn_branch=$(__my_parse_svn_branch)
  535. test -n "${svn_branch}" && printf "$1" "{$svn_branch}"
  536. fi
  537. }
  538. __my_battery_status(){
  539. local dir=/sys/class/power_supply/BAT0
  540. if test -d $dir && test -r $dir/status && test -r $dir/charge_full && test -r $dir/charge_now
  541. then
  542. local st=$(cat $dir/status)
  543. local full=$(cat $dir/charge_full)
  544. local now=$(cat $dir/charge_now)
  545. local rate=$(expr $now \* 100 / $full)
  546. printf "$1" "${st}:${rate}%"
  547. fi
  548. }
  549. alias bat='__my_battery_status %s\\n'
  550. ip-address(){
  551. type ip >/dev/null 2>&1 || return 1
  552. local ip=$(LANG=C ip addr show scope global | \grep --color=never --only-matching 'inet [^ ]*' | cut -d " " -f 2)
  553. test -n "$ip" && printf $1 $ip
  554. }
  555. __my_ps1_script(){
  556. local last=$?
  557. test -n "$SCRIPT" && echo "${__my_c5}SCR${__my_cdef} "
  558. return $last
  559. }
  560. __my_ps1_scale(){
  561. local last=$?
  562. echo "[LC:${LINES}x${COLUMNS}]"
  563. return $last
  564. }
  565. __my_ps1_tmux(){
  566. local last=$?
  567. null type tmux || return $last
  568. local tmuxc="$(tmux display -p '#S:#I:#W.#P' 2>/dev/null)"
  569. test -n "$TMUX" && echo "[TMUX:$tmuxc]"
  570. return $last
  571. }
  572. __my_ps1_moc(){
  573. local last=$?
  574. __my_moc_state "[MOC:%s]"
  575. return $last
  576. }
  577. for f in /usr/share/git/git-prompt.sh \
  578. /opt/local/share/doc/git-core/contrib/completion/git-prompt.sh
  579. do
  580. test -r $f && . $f && break
  581. done
  582. GIT_PS1_SHOWDIRTYSTATE=t
  583. GIT_PS1_SHOWUPSTREAM=t
  584. __my_ps1_git(){
  585. local last=$?
  586. null type __git_ps1 || return $last
  587. null __gitdir || return $last
  588. __git_ps1 "[GIT:$(__try_exec git config --get user.name):%s]"
  589. return $last
  590. }
  591. __my_ps1_ipaddr(){
  592. local last=$?
  593. ! iswindows && ip-address [Addr:%s]
  594. return $last
  595. }
  596. __my_ps1_bttry(){
  597. local last=$?
  598. local bst="${TMP}/batterystatus"
  599. if test -z "$DISPLAY" && ! iswindows
  600. then
  601. test -f $bst && local bstr="$(cat $bst)"
  602. test -n "$bstr" && echo "[Battery:$bstr]"
  603. __my_battery_status %s >$bst &
  604. fi
  605. return $last
  606. }
  607. __my_ps1_dirs(){
  608. dirs | wc -l
  609. }
  610. __my_ps1_jobs(){
  611. jobs | wc -l
  612. }
  613. if test "$TERM" != dumb
  614. then
  615. __my_c1="\[\e[1;31m\]" # color for PWD
  616. __my_c2="\[\e[0;36m\]" # color for user
  617. __my_c3="\[\e[1;30m\]" # color for OLDPWD
  618. if test "`hostname`" = arch-aspireone; then __my_c4="\[\e[1;34m\]"
  619. elif test "`hostname`" = darwin-mba.local; then __my_c4="\[\e[1;33m\]"
  620. elif test "`hostname`" = newkiwi; then __my_c4="\[\e[1;35m\]"
  621. else __my_c4="\[\e[1;32m\]" # color for ::
  622. fi
  623. __my_c5="\[\e[30;47m\]" # color for SCR
  624. __my_cdef="\[\e[0m\]"
  625. fi
  626. _PS1="\
  627. ${__my_c4}:: ${__my_cdef}[${__my_c2}\u@\H${__my_cdef}:${__my_c1}\w/${__my_cdef}]\$(__my_ps1_scale)\$(__my_ps1_tmux)\$(__my_ps1_git)\$(__my_ps1_bttry)\$(__my_ps1_ipaddr)\$(__my_ps1_moc)\n\
  628. ${__my_c4}:: ${__my_cdef}l${SHLVL}n\#j\js\$? \D{%T} $(__my_ps1_script)\$ "
  629. PS1=$_PS1
  630. __my_set_title(){
  631. title="$(echo $@)"
  632. case $TERM in
  633. (rxvt*|xterm*|aterm|screen*)
  634. test -t 1 &&
  635. test -n "$DISPLAY" &&
  636. test -z "$EMACS" &&
  637. echo -n -e "\033]0;${title}\007"
  638. ;;
  639. esac
  640. }
  641. PROMPT_COMMAND="__my_set_title \${USER}@\${HOSTNAME}\ \${PWD}"
  642. # copied from https://wiki.archlinux.org/index.php/X_resources
  643. invader(){
  644. # ANSI color scheme script featuring Space Invaders
  645. #
  646. # Original: http://crunchbanglinux.org/forums/post/126921/#p126921
  647. # Modified by lolilolicon
  648. #
  649. f=3 b=4
  650. for j in f b; do
  651. for i in {0..7}; do
  652. printf -v $j$i %b "\e[${!j}${i}m"
  653. done
  654. done
  655. bld=$'\e[1m'
  656. rst=$'\e[0m'
  657. cat << EOF
  658. $f1 ▀▄ ▄▀ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4 ▀▄ ▄▀ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst
  659. $f1 ▄█▀███▀█▄ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4 ▄█▀███▀█▄ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst
  660. $f1█▀███████▀█ $f2▀▀███▀▀███▀▀ $f3▀█▀██▀█▀ $f4█▀███████▀█ $f5▀▀███▀▀███▀▀ $f6▀█▀██▀█▀$rst
  661. $f1▀ ▀▄▄ ▄▄▀ ▀ $f2 ▀█▄ ▀▀ ▄█▀ $f3▀▄ ▄▀ $f4▀ ▀▄▄ ▄▄▀ ▀ $f5 ▀█▄ ▀▀ ▄█▀ $f6▀▄ ▄▀$rst
  662. $bld$f1▄ ▀▄ ▄▀ ▄ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4▄ ▀▄ ▄▀ ▄ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst
  663. $bld$f1█▄█▀███▀█▄█ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4█▄█▀███▀█▄█ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst
  664. $bld$f1▀█████████▀ $f2▀▀▀██▀▀██▀▀▀ $f3▀▀█▀▀█▀▀ $f4▀█████████▀ $f5▀▀▀██▀▀██▀▀▀ $f6▀▀█▀▀█▀▀$rst
  665. $bld$f1 ▄▀ ▀▄ $f2▄▄▀▀ ▀▀ ▀▀▄▄ $f3▄▀▄▀▀▄▀▄ $f4 ▄▀ ▀▄ $f5▄▄▀▀ ▀▀ ▀▀▄▄ $f6▄▀▄▀▀▄▀▄$rst
  666. $f7▌$rst
  667. $f7▌$rst
  668. $f7 ▄█▄ $rst
  669. $f7▄█████████▄$rst
  670. $f7▀▀▀▀▀▀▀▀▀▀▀$rst
  671. EOF
  672. }
  673. #/etc/lsb-release