<commit_before>#!/bin/bash -e

fs_mount_path=$(ctx source node properties fs_mount_path)

ctx logger info "Unmounting file system on ${fs_mount_path}"
sudo umount ${fs_mount_path}

ctx logger info "Removing ${fs_mount_path} directory"
sudo rmdir ${fs_mount_path}

ctx logger info "Removing mount point ${fs_mount_path} from /etc/fstab"
sudo sed -i '/'"$fs_mount_path"'/d' /etc/fstab<commit_msg>changed replacement pattern when removing mound device from /etc/fstab<commit_after>#!/bin/bash -e

fs_mount_path=$(ctx source node properties fs_mount_path)

ctx logger info "Unmounting file system on ${fs_mount_path}"
sudo umount ${fs_mount_path}

ctx logger info "Removing ${fs_mount_path} directory"
sudo rmdir ${fs_mount_path}

ctx logger info "Removing mount point ${fs_mount_path} from /etc/fstab"
sudo sed -i '/'"$fs_mount_path "'/d' /etc/fstab
{'fraction_non_alphanumeric': 0.11347517730496454, 'fraction_numerical': 0.0, 'mean_word_length': 6.058333333333334, 'pattern_counts': {'":': 0, '<': 3, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2757802', 'n_tokens_mistral': 306, 'n_tokens_neox': 288, 'n_words': 90}