Re: net send <name> <text> command?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 07, 2004 at 12:21:31AM +0100, Christoph Wickert wrote:
> I've made a little script called net_send, to keep the command syntax

Which doesn't work like you told.

> #!/bin/sh
> echo $2 | smbclient -M $1

> # net_sent MACHINE What about Pizza?

$0=net_sent
$1=MACHINE
$2=What
$3=about
..

So you have use quotes with the message.

$ net_sent MACHINE "What about Beer?"


-- 
 Jani Ollikainen   http://iki.fi/bestis/




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux