rdcwayx is abbreviating "regular expression" as "reg".
rdcwayx is correctly suggesting that if you do a bit of searching around in these forums (using the search features) or research on the use of regular expressions, you will find the answer to your question quite easily.
Dear friends,
please tell me how to find the files which are existing in the current directory, but it sholud not search in the sub directories..
it is like this,
current directory contains
file1, file2, file3, dir1, dir2
and dir1 conatins
file4, file5
and dir2 contains
file6,... (9 Replies)
I am writing a expect script. during the expect, i need check the out to see whether i logged in:
set password "1234"
spawn telnet host1
expect "login:"
send "guest\n"
expect "password:"
send $password
expect -re "#|$"
puts "Logged in"
But it seems that expect takes "$" as a wild... (3 Replies)
find . -type f -print0 | xargs -0 chmod 600
find . -type f
On bash, I would like to pass the search result of "find" to another command as well as to the standard output. The above code performs the same search twice -- once for "xargs -0 chmod" and another for stdout. I would like to... (5 Replies)
I have a bunch of random character lines like ABCEDFG. I want to find all lines with "A" and then change any "E" to "X" in the same line. ALL lines with "A" will have an "X" somewhere in it. I have tried sed awk and vi editor. I get close, not quite there. I know someone has already solved this... (10 Replies)
Hi All,
I'm completely new to bash scripting and still learning my way through albeit vey slowly.
I need to know where to insert my server names', my ip address numbers through out the script alas to no avail.
I'm also searching on how to save .sh (bash shell) script properly.... (25 Replies)
Hi, everyone.
I need to write a program to get io info based on libperfstat.
But the "write time" of a disk is just half of the value get from iostat.
I'm confused and can't explain. Help please.
How I calculate "write service time per sec":
In iostat:
write service... (0 Replies)
These three finds worked as expected:
$ find . -iname "*.PDF"
$ find . -iname "*.PDF" \( ! -name "*_nobackup.*" \)
$ find . -path "*_nobackup*" -prune -iname "*.PDF"
They all returned the match:
./folder/file.pdf
:b:
This find returned no matches:
$ find . -path "*_nobackup*" -prune... (3 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
I need to find two matches in the output from ps. I am searching with ps -ef |grep mysql for:
my.cnf
/bin/sh /usr/bin/mysqld_safe --defaults-file=/data/mysql/master/agis_core/etc/my.cnf
after this match I want to search back and match the hostname which is x number of lines back, above the... (2 Replies)
Discussion started by: bash_in_my_head
2 Replies
LEARN ABOUT DEBIAN
exosip2_registration
eXosip2 REGISTER and Registration Management(3) libeXosip2 eXosip2 REGISTER and Registration Management(3)NAME
eXosip2 REGISTER and Registration Management -
Functions
int eXosip_register_build_initial_register (const char *from, const char *proxy, const char *contact, int expires, osip_message_t **reg)
int eXosip_register_build_initial_register_withqvalue (const char *from, const char *proxy, const char *contact, int expires, const char
*qvalue, osip_message_t **reg)
int eXosip_register_build_register (int rid, int expires, osip_message_t **reg)
int eXosip_register_send_register (int rid, osip_message_t *reg)
int eXosip_register_remove (int rid)
Detailed DescriptionFunction Documentation
int eXosip_register_build_initial_register (const char *from, const char *proxy, const char *contact, intexpires, osip_message_t **reg)
Build initial REGISTER request.
Parameters:
from SIP url for caller.
proxy Proxy used for registration.
contact Contact address. (optional)
expires The expires value for registration.
reg The SIP request to build.
int eXosip_register_build_initial_register_withqvalue (const char *from, const char *proxy, const char *contact, intexpires, const char
*qvalue, osip_message_t **reg)
Build initial REGISTER request with qvalue for contact.
Parameters:
from SIP url for caller.
proxy Proxy used for registration.
contact Contact address. (optional)
expires The expires value for registration.
qvalue The qvalue value for contact header.
reg The SIP request to build.
int eXosip_register_build_register (intrid, intexpires, osip_message_t **reg)
Build a new REGISTER request for an existing registration.
Parameters:
rid A unique identifier for the registration context
expires The expires value for registration.
reg The SIP request to build.
int eXosip_register_send_register (intrid, osip_message_t *reg)
Send a REGISTER request for an existing registration.
Parameters:
rid A unique identifier for the registration context
reg The SIP request to build. (NULL for default REGISTER)
int eXosip_register_remove (intrid)
Remove existing registration without sending REGISTER.
Parameters:
rid A unique identifier for the registration context
Author
Generated automatically by Doxygen for libeXosip2 from the source code.
Version 3.1.0 Sun Jun 24 2012 eXosip2 REGISTER and Registration Management(3)