9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
This is a bit simple but I cannot do it! I have a big table of values between 0 and 1. some cells have NA instead of having any value.
I want to exchange all values with "1" and write "0" for all "NA" .
for changing "NA" to zero I used sed:
sed -i 's/NA/0/g' input.txt
But... (3 Replies)
Discussion started by: @man
3 Replies
2. Shell Programming and Scripting
I need to export xlm files in a specific directory and insert them into an oracle table. I am new with unix.
I also need to export users from ldap (3 Replies)
Discussion started by: joannascott
3 Replies
3. Shell Programming and Scripting
Hi All;
I m working on a script and came across an issue ,to explain it briefly here is the sample code
echo $HOSTNAME|while read IN; do var=`echo $IN|awk -F "-" '{print $2}'`; export var; echo $var; done
now I get the value of $var but when it is out of the while loop
it does not return... (3 Replies)
Discussion started by: maverick_here
3 Replies
4. Solaris
Hi,
can anyone tell me the difference between the below two examples:
Eg-1:
# name=bravo
# echo $bravo
what would be the o/p
Eg-2:
# name1=jhonny
# export name1
# echo $name1
what would be the o/p
If the o/p's of both examples are the same then what is the use of the cmd export... (3 Replies)
Discussion started by: rahul_11d
3 Replies
5. Shell Programming and Scripting
Can someone help me out to export awk output to excel file in different rows? Plzzzz its urgent...:( (4 Replies)
Discussion started by: goutam_igate
4 Replies
6. Solaris
I have a sun box i can connect to using exceed in broadcast or query mode.
I have been using passive mode to call up just a few apps, xcalc for example.
How do i get the solaris 9 user login screen using passive mode? is it dtlogin or something that im should run frmo the shell? (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies
7. Windows & DOS: Issues & Discussions
My friend's boss has asked me to help update a customer database. They have a limited amount of space and have asked if I can do this from my home computer.
She is working on a Unix system with a program called Accuterm. My understanding is that this program is a dedicated program for the... (0 Replies)
Discussion started by: clearchoice
0 Replies
8. UNIX for Dummies Questions & Answers
how do I export my display from my unix box to my pc
basically what is the syntax for export DISPLAY (2 Replies)
Discussion started by: csaunders
2 Replies
9. UNIX for Advanced & Expert Users
How do I export a directory ?
I am trying to link the directory from another machine. (2 Replies)
Discussion started by: brv
2 Replies
AMQP-PUBLISH(1) RabbitMQ C Client AMQP-PUBLISH(1)
NAME
amqp-publish - Publish a message on an AMQP server
SYNOPSIS
amqp-publish [OPTION...]
DESCRIPTION
Publishes a message to an exchange on an AMQP server. Options allow the various properties of the message and parameters of the AMQP
basic.publish method to be specified.
By default, the message body is read from standard input. Alternatively, the -b option allows the message body to be provided as part of
the command.
OPTIONS
-e, --exchange=exchange name
The name of the exchange to publish to. If omitted, the default exchange (also known as the nameless exchange) is used.
-r, --routing-key=routing key
The routing key to publish with. If omitted, an empty routing key is assumed. A routing key must be specified when publishing to the
default exchange; in that case, accoding to the AMQP specification, the routing key corresponds to a queue name.
-p, --persistent
Use the persistent delivery mode. Without this option, non-persistent delivery is used.
-C, --content-type=MIME type
Specifies the content-type property for the message. If omitted, the content-type property is not set on the message.
-E, --content-encoding=content coding
Specifies the content-encoding property for the message. If omitted, the content-encoding property is not set on the message.
-b, --body=message body
Specifies the message body. If omitted, the message body is read from standard input.
EXAMPLES
Send a short message, consisting of the word "Hello" to the queue "myqueue" via the default exchange:
$ amqp-publish -r myqueue -b Hello
Send some XML data from a file to the exchange "events", with persistent delivery mode, setting the content-type property on the message to
make the data format explicit:
$ amqp-publish -e events -p -C text/xml <event.xml
SEE ALSO
librabbitmq-tools(7) describes connection-related options common to all the RabbitMQ C Client tools.
AUTHOR
The RabbitMQ Team <info@rabbitmq.com>
RabbitMQ C Client 2011-01-01 AMQP-PUBLISH(1)