Skip to content

Instantly share code, notes, and snippets.

@haisum
Last active May 26, 2016 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haisum/a012c73fe466ebba069dae560520c3fa to your computer and use it in GitHub Desktop.
Save haisum/a012c73fe466ebba069dae560520c3fa to your computer and use it in GitHub Desktop.
example receiver script
#!/bin/bash
SRC=$1
DST=$2
MSG=$3
CONN=$4
GROUP=$5
# Example of saving received sms to a file as csv
echo "$SRC","$DST","$MSG","$CONN","$GROUP" >> /home/maaz/sms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment