Skip to content

Instantly share code, notes, and snippets.

@songritk
Created August 2, 2017 06:48
Show Gist options
  • Save songritk/1fe81af7244bab12da772a01541bd991 to your computer and use it in GitHub Desktop.
Save songritk/1fe81af7244bab12da772a01541bd991 to your computer and use it in GitHub Desktop.
#!/bin/bash
file=`cat user-2.txt`
for l in $file; do
grep $l radius.log-20161209 > data2/$l.txt
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment