Hi all,
I have a script where i need to check the format of a string.
finally, i'm waiting a "process name" and 2 numbers separated by a ","
string like : "this_is_a_string.txt,1,10 should be ok"
string ok : "apache.exe,1,10"
string ok : "mysqld,50,0"
string not ok : "ap ache,1,10"... (4 Replies)
Hi guys,
I have the following example data:
A;00:00:19
B;00:01:02
C;00:00:13
D;00:00:16
E;00:02:27
F;00:00:12
G;00:00:21
H;00:00:19
I;00:00:13
J;00:13:22
I run the following sort against it, yet the output is as follows:
sort -t";" +1 -nr example_data.dat
A;00:00:19 (16 Replies)
Hi all
In the ltp-posix test,there is a case in open_posix_testsuite\conformance\interfaces\timer_gettime\speculative/6-1.c
I run the above code,it will has a segment fault, if I modify it to below,it works well
Anybody can tell me why? (1 Reply)
This is the code:
while test 1 -eq 1
do
read a
$a
if test $a = stop
then
break
fi
done
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
Hi
At OK> prompt, I have run the boot -s command
After system is coming on to multiuser state, when I run the " who -r" command, I get the following message
# who -r
run-level Oct 17 03:48 last=
Means I dont see "S" after run-level keyword. Could any one... (2 Replies)
I created a file with the permissions of 776.
When I ran the command find /root/Desktop -perm -644 -type f
The created file shows up as part of the results.
Doesn't -perm -mode mean that for global, only 4(read) and 2(write) can be accepted ? (2 Replies)
I want to remove any files that are older than 2 days from a directory. It deletes those files. Then it comes back with a message it is a directory. What am I doing wrong here?
+ find /mydir -mtime +2 -exec rm -f '{}' ';'
rm: /mydir is a directory (2 Replies)
I am getting some strange behaviour from the kill command. When I run the which command it says it points to /usr/bin/kill. When I look at my PATH I have /usr/bin in it. So why does running kill or /usr/bin/kill produce different outputs?
ghost ~
$ which kill
/usr/bin/kill
ghost ~
$ kill... (5 Replies)
Discussion started by: cokedude
5 Replies
LEARN ABOUT DEBIAN
jsb-irc
JSONBOT(1) jsb manual JSONBOT(1)NAME
jsb-irc - The JSONBOT IRC program
SYNOPSIS
jsb-irc is the IRC program build on the JSONBOT framework
DESCRIPTION
jsb-irc can connect to IRC network and join a channel, react on /msg and operate on /DCC CHAT connections. It supports SSL and ipv6.
USAGE
Usage: jsb-irc [options]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-r PATH resume the bot from the folder specified
-d DATADIR, --datadir=DATADIR
datadir of the bot
-o OWNER, --owner=OWNER
owner of the bot
-s SERVER, --server=SERVER
server to connect to (irc)
-c CHANNEL, --channel=CHANNEL
channel to join
-l LOGLEVEL, --loglevel=LOGLEVEL
loglevel of the bot
-p PASSWORD, --password=PASSWORD
set password used to connect to the server
--name=NAME bot's name
--port=PORT set port of server to connect to
--save save to config file
-n NICK, --nick=NICK nick of the bot
--ssl use ssl
-y, --nossl don't use ssl
-6, --ipv6 enable ipv6 bot
DOCUMENTATION
See http://jsonbot.org for more documentation or see http://jsonbot.googlecode.com
SEE ALSO jsb(1), jsb-backup(1), jsb-init(1), jsb-xmpp(1), jsb-fleet(1), jsb-tornado(1), jsb-stop(1), jsb-udp(1), jsonbot(1)AUTHOR
This manual page was written by Bart Thate <bthate@gmail.com>, for the Debian GNU/Linux system (but may be used by others).
Debian GNU/Linux 22 Nov 2011 JSONBOT(1)