This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Example Vue + DataTables</title> | |
<!-- I happened to be using the bootstrap styling w/ DataTables. You may not need this. --> | |
<link rel="stylesheet" href="/path/to/datatables/DataTables-1.10.16/css/dataTables.bootstrap4.min.css"> | |
</head> | |
<body> | |
<div id="example-page"> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | |
TXT_FILES_DIR=$DIR/txt | |
#check if directory is not empty | |
if [ "$(ls -A $TXT_FILES_DIR)" ]; then | |
#concatenate all text files in 1 log txt file | |
cat $DIR/txt/*.txt > $DIR/txt_done/log.txt_"$(date +%Y%m%d-%H%M%S)".txt | |
#extract emails from log.emails txt file | |
egrep -o "\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]+\b" $DIR/txt_done/log.txt_"$(date +%Y%m%d-%H%M%S)".txt > $DIR/txt_done/log.emails.txt_"$(date +%Y%m%d-%H%M%S)".txt; |