Sponsored Content
Full Discussion: Help with gammu script
Top Forums Shell Programming and Scripting Help with gammu script Post 302889159 by hawkfro12 on Wednesday 19th of February 2014 07:39:46 AM
Old 02-19-2014
Help with gammu script

hi my friends,

im trying to send messages from my pc using gammu to several phones by reading the numbers from a .txt file
( i just want that to work by this way , no other solution)!

the gammu command for sending sms:
Code:
sudo echo "something doesnt seem right with the server , pls check" | /usr/bin/gammu --sendsms TEXT 004365085372395 (number)

so i need help to make this into a proplery working code.

i figured out that i should do it via a for break
Code:
for i in `cat tel.txt` ; do echo ..... $i ; done
tel.txt = file where numbers are

code should be quiet simple im just not very good.

thx for help guys )
 
wammu-configure(1)					      General Commands Manual						wammu-configure(1)

NAME
wammu-configurator - program to configure Gammu engine (used by Wammu) SYNOPSIS
wammu-configure [options] DESCRIPTION
This manual page explains the wammu-configure program. This program is graphical configuration manager for gammu. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -h, --help Show summary of options. -v, --version Show version of program. -l, --local-locales Use locales from current directory rather than system ones. This is mostly useful for development or when running from unpacked tar- ball without installation. LICENSE
This program is licensed under GNU/GPL version 2. REPORTING BUGS
There are definitely many bugs, reporting to author is welcome. Please include some useful information when sending bug reports (eg. excep- tion you received and debug output). Please submit your reports to <http://bugs.wammu.eu/>. SEE ALSO
More information is available on program website: <http://wammu.eu/>. gammu(1) wammu(1) AUTHOR
Michal Cihar <michal@cihar.com> COPYRIGHT
Copyright (C) 2003 - 2008 Michal Cihar <michal@cihar.com> Mobile phone manager configuration 2005-01-24 wammu-configure(1)
All times are GMT -4. The time now is 07:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy