10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I am new in bash scripting. In my work, I provide support to several users and when I connect to their computers I use the same admin and password, so I am trying to create a script that will only ask me for the IP address and then connect to the computer without having me to type the user... (5 Replies)
Discussion started by: arcoa05
5 Replies
2. Shell Programming and Scripting
I have an application which I am integrating with that accepts the password via a CLI. I am running in to issues with passwords that contain special characters. I tried to escape them all, but I ran in to an issue where I cannot escape the characters
'
]
My attempt is as follows:
$... (2 Replies)
Discussion started by: AMG1978
2 Replies
3. Shell Programming and Scripting
Hi ,
I am looking for a function which will do the following.
1. I have a variable which will hold few special chracter like
SPECIAL_CHARS="& ;"2. I have an escape character.
ESCAPE_CHAR="\"3. Now when I passed some string in the function it will return the same string but now it will... (8 Replies)
Discussion started by: Anupam_Halder
8 Replies
4. Shell Programming and Scripting
This is a bit off the wall, but I often need to run scripts where there are argument values that contain special characters.
For example,
$ ./process.exe -t M -N -o temp.mol.s -i ../molfiles/N,N\',N\'\'-trimethylbis\(hexamethylene\)triamine.mol && sfile_space_to_tab.sh temp.mol.s temp.s
It... (1 Reply)
Discussion started by: LMHmedchem
1 Replies
5. Shell Programming and Scripting
Hi,
How to use * in call to pl/sql block from shell script?
The line "select * from" is causing all files and directiores to show up in email notification but if I give all column names then it works,
Please let me know how to use '*' instead of giving all column names, in other wirds how to... (2 Replies)
Discussion started by: sandy162
2 Replies
6. Shell Programming and Scripting
Hi,
I have written a unix expect utility "ssh-login.exp" which connects (ssh) to remote host and execute some shell script. I am calling this "ssh-login.exp" utility from another shell script.
"ssh-login.exp" takes username, password, host and shell script path to execute on remote host. All... (1 Reply)
Discussion started by: Mahesh Desai
1 Replies
7. Shell Programming and Scripting
Need help in escaping special characters in sed command.
Here is the the string which i am trying to find a replace with
From :- REQUEST_TYPE=PIXEL&MSG_ID={//MESSAGE_ID}
To :- REQUEST_TYPE=PIXEL&MSG_ID= X_EDELIVERY_MESSAGE_ID & BATCH_ID= X_EDELIVERY_BATCH_ID
Here is the sed command i am... (2 Replies)
Discussion started by: aakishore
2 Replies
8. Shell Programming and Scripting
I am having issues escaping special characters in my AWK script as follows:
for id in `cat file`
do
grep $id in file2 | awk '\
BEGIN {var=""} \
{ if ( /stringwith+'|'+'50'chars/ ) {
echo "do this"
} else if ( /anotherString/ ) {
echo "do that"
} else {
... (4 Replies)
Discussion started by: purebc
4 Replies
9. Shell Programming and Scripting
Hello Everyone,
I need to read an encrypted password from the user and update that value in an xml file. I am trying to use "sed" for searching the appropriate tag and replacing this new value that get from the user. Since the encrypted password can contain special characters(like /,\,&,etc),... (4 Replies)
Discussion started by: majose
4 Replies
10. Shell Programming and Scripting
I'm using awk '{print $1}' and it works most of the time to print the contents of a mysql query loop, but occationally I get a field with some special character in it, is there a way to tell awk to ignore all special characters between my FS? I have >186K records, so building a list of ALL special... (6 Replies)
Discussion started by: unclecameron
6 Replies
RABBIT(1) rabbit RABBIT(1)
NAME
rabbit - presentation tool using RD, simple text format
SYNOPSIS
rabbit [options] [SOURCE_INFOS]
DESCRIPTION
Theme
-I, --include=PATH
Add [PATH] to load path.
-t, --theme=THEME
Use [THEME] as theme. (default)
--comment-theme=THEME
Use [THEME] for comment. ()
--allotted-time=TIME
Use [TIME] as allotted time. ()
Source
-T, --type=TYPE
Specify source type as [TYPE]. Select from [auto, argf, file, memory, slideshare, uri]. Note: case insensitive. (auto)
When select ARGF specify none (get from STDIN) or [FILE_NAMES] as [SOURCE_INFOS].
When select File specify [FILENAME] as [SOURCE_INFOS].
When select Memory specify [FILENAME_OR_NOT] as [SOURCE_INFOS].
When select SlideShare specify [USER] and [TITLE] as [SOURCE_INFOS].
When select URI specify URI as [SOURCE_INFOS].
-e, --encoding=ENCODING
Specify source encoding as [ENCODING]. (auto)
-B, --base=BASE
Specify base URI or path of source as [BASE]. (auto)
Initial state
-f, --[no-]full-screen
Toggle full screen mode. (off)
--[no-]index-mode
Toggle index mode. (off)
Size
-g, --geometry=GEOMETRY
Set window geometry [GEOMETRY]. Format: WIDTHxHEIGHT+X+Y (nil)
-w, --width=WIDTH
Set window width to [WIDTH]. (800)
-h, --height=HEIGHT
Set window height to [HEIGHT]. (600)
-S, --size=WIDTH,HEIGHT
Set window width and height to [WIDTH] and [HEIGHT]. (800,600)
Save
-s, --save-as-image
Save as image and exit.
-i, --saved-image-type=TYPE
Specify saved image type as [TYPE]. (png)
-bBASE_NAME,
Specify saved image base name as [BASE_NAME].
--saved-image-base-name
(Title of slide)
--saved-image-basename
--[no-]output-html
Output HTML for viewing saved images. (false)
--[no-]output-index-html
Output index HTML for navigating slides. (false)
--rss-base-uri=URI
Specify base URI of RSS as [URI]. RSS is generated only when HTML is output. ()
--source-filename=FILENAME
Specify source filenam as [FILENAME]. ()
Print
-p, --print
Print and exit.
-o, --output-filename=FILENAME
Specify printed out filename as [FILENAME]. (#{Title of slide}.pdf)
--slides-per-page=SLIDES
Set slides per page. (1)
--[no-]draw-scaled-image
Draw scaled image. Better look for displaying but lesser look for printing. (true)
Paper
--paper-width=WIDTH
Set paper width to [WIDTH] Pt. (landscape A4 width)
--paper-height=HEIGHT
Set paper height to [HEIGHT] Pt. (landscape A4 height)
--paper-size=WIDTH,HEIGHT
Set paper width and height to [WIDTH] Pt and [HEIGHT] Pt. (landscape A4 size)
Margin
--margin-left=MARGIN
Set left margin for slides per page mode print. (auto)
--margin-right=MARGIN
Set right margin for slides per page mode print. (auto)
--margin-top=MARGIN
Set top margin for slides per page mode print. (auto)
--margin-bottom=MARGIN
Set bottom margin for slides per page mode print. (auto)
--margin={ [ALL] | [TOP_BOTTOM],[LEFT_RIGHT] | [TOP],[LEFT_RIGHT],[BOTTOM] | [TOP],[RIGHT],[BOTTOM],[LEFT]}
Set margin for slides per page mode print.
--page-margin-left=MARGIN
Set left page margin. (auto)
--page-margin-right=MARGIN
Set right page margin. (auto)
--page-margin-top=MARGIN
Set top page margin. (auto)
--page-margin-bottom=MARGIN
Set bottom page margin. (auto)
--page-margin={[ALL]|[TOP_BOTTOM],[LEFT_RIGHT]|[TOP],[LEFT_RIGHT],[BOTTOM]|[TOP],[RIGHT],[BOTTOM],[LEFT]}
Set page margin.
dRuby
--[no-]use-druby
Specify whether to use dRuby. (true)
--druby-uri=URI
Specify dRuby URI. (druby://127.0.0.1:10101)
--[no-]output-druby-uri
Specify whether to output dRuby URI. (false)
SOAP
--[no-]use-soap
Specify whether to use SOAP. (false)
--soap-host=HOST
Specify SOAP host as [HOST]. (0.0.0.0)
--soap-port=PORT
Specify SOAP port as [PORT]. (10103)
XML-RPC
--[no-]use-xmlrpc
Specify whether to use XML-RPC. (false)
--xmlrpc-host=HOST
Specify XML-RPC host as [HOST]. (0.0.0.0)
--xmlrpc-port=PORT
Specify XML-RPC port as [PORT]. (10104)
Server
--[no-]server
Specify whether to run as server. (false)
Public level
--public-level=LEVEL
Specify public level. Select from the following: [
strict, move, read-size, change-size, size, read-source, change-source, source, control, all
] (all)
Comment
--comment-source=FILE
Deprecated. Just ignored. Specify initial comment source. (default source)
--comment-encoding=ENCODING
Deprecated. Just ignored. Specify comment source encoding. (auto)
Migemo
--migemo-dictionary-search-path=PATH1,PATH2,...
Specify search paths for Migemo static dictionary. (/usr/share, /usr/local/share)
--migemo-dictionary-name=NAME
Specify static dictionary name for Migemo. (migemo-dict)
3D
--[no-]use-gl
Specify whether to use OpenGL if available. (false)
Display
--[no-]keep-above
Specify whether to keep above window. (false)
Others
--[no-]show-native-window-id Show a native window ID of the Rabbit window if available.
e.g. The ID is the ID of X resource on X window system. (false)
Common options
--locale-dir=DIR
Specify locale dir as [DIR]. (auto)
--logger-type=TYPE
Specify logger type as [TYPE]. Select from [stderr, gui]. (STDERR)
--log-level=LEVEL
Specify log level as [LEVEL]. Select from [debug, info, warning, error, fatal, unknown]. (info)
--help Show this message.
--version
Show version.
rabbit 1.0.7 June 2012 RABBIT(1)