Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.mobile.android > #35708

Re: Is Android enough like Linux to run an if-then-else mailx batch command?

From Algeria Horan <algeriahoran@algeria.horan.net>
Newsgroups comp.mobile.android, alt.os.linux
Subject Re: Is Android enough like Linux to run an if-then-else mailx batch command?
Date 2016-11-07 18:03 +0000
Organization Aioe.org NNTP Server
Message-ID <nvqflv$10uh$3@gioia.aioe.org> (permalink)
References <nvm89u$1kn1$1@gioia.aioe.org> <spet1c963q1v0vsg24d2sbf8co4m9baopr@4ax.com>

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, 06 Nov 2016 18:45:33 +1300, Ralph Fox wrote:

> Android comes with the mksh shell [2] at /system/bin/sh, but not a 
> mailx command.  You could almost certainly write and run an mksh 
> shell script like the one you want.  But unless you install and 
> configure your own mailx command built for Android, your script will 
> fail on the second line.

Thanks for confirming that mailx isn't available on Android.
So we can do the if-then-else but not the mail. 

Back to comp.mobile.android | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Is Android enough like Linux to run an if-then-else mailx batch command? Algeria Horan <algeriahoran@algeria.horan.net> - 2016-11-06 03:33 +0000
  Re: Is Android enough like Linux to run an if-then-else mailx batch command? Ralph Fox <-rf-nz-@-.invalid> - 2016-11-06 18:45 +1300
    Re: Is Android enough like Linux to run an if-then-else mailx batch command? Algeria Horan <algeriahoran@algeria.horan.net> - 2016-11-07 18:03 +0000
  Re: Is Android enough like Linux to run an if-then-else mailx batch command? Wildman <best_lay@yahoo.com> - 2016-11-06 01:03 -0500
    Re: Is Android enough like Linux to run an if-then-else mailx batch command? Algeria Horan <algeriahoran@algeria.horan.net> - 2016-11-07 18:03 +0000
      Re: Is Android enough like Linux to run an if-then-else mailx batch command? Jasen Betts <jasen@xnet.co.nz> - 2016-11-10 23:30 +0000
  Re: Is Android enough like Linux to run an if-then-else mailx batch command? VanguardLH <V@nguard.LH> - 2016-11-06 01:31 -0500
    Re: Is Android enough like Linux to run an if-then-else mailx batch command? Bob Martin <bob.martin@excite.com> - 2016-11-06 07:36 +0000
      Re: Is Android enough like Linux to run an if-then-else mailx batch command? VanguardLH <V@nguard.LH> - 2016-11-06 05:01 -0600
        Re: Is Android enough like Linux to run an if-then-else mailx batch command? Andy Burns <usenet@andyburns.uk> - 2016-11-06 11:24 +0000
          Re: Is Android enough like Linux to run an if-then-else mailx batch command? VanguardLH <V@nguard.LH> - 2016-11-06 12:04 -0600
            Re: Is Android enough like Linux to run an if-then-else mailx batch command? Andy Burns <usenet@andyburns.uk> - 2016-11-06 18:26 +0000
            Re: Is Android enough like Linux to run an if-then-else mailx batch command? Whiskers <catwheezel@operamail.com> - 2016-11-06 20:10 +0000
              Re: Is Android enough like Linux to run an if-then-else mailx batch command? Piet <www.godfatherof.nl/@opt-in.invalid> - 2016-11-06 22:14 +0100
                Re: Is Android enough like Linux to run an if-then-else mailx batch command? Whiskers <catwheezel@operamail.com> - 2016-11-07 18:44 +0000
              Re: Is Android enough like Linux to run an if-then-else mailx batch command? "Carlos E.R." <robin_listas@invalid.es> - 2016-11-06 22:13 +0100
                Re: Is Android enough like Linux to run an if-then-else mailx batch command? Whiskers <catwheezel@operamail.com> - 2016-11-07 18:14 +0000
            Re: Is Android enough like Linux to run an if-then-else mailx batch command? "Carlos E.R." <robin_listas@invalid.es> - 2016-11-06 22:11 +0100
              Re: Is Android enough like Linux to run an if-then-else mailx batch command? Andy Burns <usenet@andyburns.uk> - 2016-11-06 21:24 +0000
                Re: Is Android enough like Linux to run an if-then-else mailx batch command? "Carlos E.R." <robin_listas@invalid.es> - 2016-11-06 22:44 +0100
      Re: Is Android enough like Linux to run an if-then-else mailx batch command? Algeria Horan <algeriahoran@algeria.horan.net> - 2016-11-07 18:03 +0000
        Re: Is Android enough like Linux to run an if-then-else mailx batch command? Askfor <askfor@nowhere.net> - 2016-11-08 03:16 +0100
    Re: Is Android enough like Linux to run an if-then-else mailx batch command? Askfor <askfor@nowhere.net> - 2016-11-06 15:29 +0100

csiph-web