<commit_before>#!/bin/bash

make_user() {

  new_guy=$1
  guys_email=$2

  if ! grep -q $new_guy /etc/passwd
  then
    made_rand=`< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c7`
    made_pass=`mkpasswd --method=sha-256 $made_rand`
    user_group="unknown"
    useradd --password $made_pass \
            --create-home \
            --shell /bin/bash \
            "$new_guy"
    echo "This is your username $new_guy and randomly generate password. You are strongly encouraged to change it. You can do so by running passwd command and following the prompts \n \n Not a lab guy" | mail -s "Your login details for upcoming course by Monash Bioinforamtics Platform" $guys_email<commit_msg>still working on bash script<commit_after>#!/bin/bash

make_user() {

  new_guy=$1
  guys_email=$2

  if ! grep -q $new_guy /etc/passwd
  then
    made_rand=`< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c7`
    made_pass=`mkpasswd --method=sha-256 $made_rand`
    user_group="unknown"
    useradd --password $made_pass \
            --create-home \
            --shell /bin/bash \
            "$new_guy"
    echo "This is your username $new_guy and randomly generate password $made_rand. You are strongly encouraged to change it. You can do so by running passwd command and following the prompts \
                                     \
          Not a lab guy" | mail -s "Your login details for upcoming course by Monash Bioinforamtics Platform" $guys_email
{'fraction_non_alphanumeric': 0.10062456627342123, 'fraction_numerical': 0.011103400416377515, 'mean_word_length': 2.441527446300716, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6247268', 'n_tokens_mistral': 487, 'n_tokens_neox': 457, 'n_words': 154}