<commit_before>#!/usr/bin/env bash
screen () { # Screen wrapper {{{
  # Tips of screen for a cluster
  # This setting keeps the host name in which screen is running
  # for a case in the cluster,
  # in which the host can be changed at every login

  #touch ~/.hostForScreen
  if [ $# = 0 ] || [ "$1" = "-r" ] || [ "$1" = "-R" ] || [ "$1" = "-x" ] || [ "$1" = "-n" ];then
    #sed -i -e "/^$(hostname).*/d" ~/.hostForScreen
    #hostname >> ~/.hostForScreen
    ## keep 10 histories
    #tail -n10 ~/.hostForScreen > ~/.hostForScreen.tmp
    #mv ~/.hostForScreen.tmp ~/.hostForScreen
    # write out DISPLAY of current terminal
    echo "export DISPLAY=$DISPLAY" > ~/.screen_update
    echo "export SSHHOME=$DSSHHOME" >> ~/.screen_update
  fi

  local options=""
  if [ $# = 0 ];then
    sockets=$(command screen -ls|grep -e Attached -e Detached)<commit_msg>   .screen/setup.sh, from<commit_after>#!/usr/bin/env bash
screen () { # Screen wrapper {{{
  # Tips of screen for a cluster
  # This setting keeps the host name in which screen is running
  # for a case in the cluster,
  # in which the host can be changed at every login

  #touch ~/.hostForScreen
  if [ $# = 0 ] || [ "$1" = "-r" ] || [ "$1" = "-R" ] || [ "$1" = "-x" ] || [ "$1" = "-n" ];then
    #sed -i -e "/^$(hostname).*/d" ~/.hostForScreen
    #hostname >> ~/.hostForScreen
    ## keep 10 histories
    #tail -n10 ~/.hostForScreen > ~/.hostForScreen.tmp
    #mv ~/.hostForScreen.tmp ~/.hostForScreen
    # write out DISPLAY of current terminal
    echo "export DISPLAY=$DISPLAY" > ~/.screen_update
    echo "export SSHHOME=$SSHHOME" >> ~/.screen_update
  fi

  local options=""
  if [ $# = 0 ];then
    sockets=$(command screen -ls|grep -e Attached -e Detached)
{'fraction_non_alphanumeric': 0.17718587145338738, 'fraction_numerical': 0.011580775911986103, 'mean_word_length': 2.8230088495575223, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '457592', 'n_tokens_mistral': 606, 'n_tokens_neox': 586, 'n_words': 191}