02-02-2015
Sorry fellas,
Being in the expert bucket I figured you guys would "see" it. ... and if you execute the script I provided you will see that it actually works and the desired output is shown. No mind reading necessary !
I am trying to remove the "(" and the ")" from var without using an external command in a single step.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi guys,
insert into /*<new>*/abc_db.tbl_name
this is should be replaced to
insert into /*<new>*/${new}.tbl_name
it should use '.' as delimiter and replace
is there any way to do it using sed (6 Replies)
Discussion started by: sol_nov
6 Replies
2. Shell Programming and Scripting
Hello,
I am running a bash script under linux which first defines an CA-array like
j=0
num1=120.00
num2=10.00
until
do
CA='echo $num1 + $j*$num2'
j=$
done
within the later awk section of this same script I want to read data from a file. If the value of the second column is... (3 Replies)
Discussion started by: MotAah
3 Replies
3. Shell Programming and Scripting
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
Discussion started by: vivek d r
10 Replies
4. Shell Programming and Scripting
Hi there, I'm new to shell scripting and need some help if possible?
I need to create a shell script (.sh) to run as a cron job on an ubuntu linux server to connect to an external sftp sites directory using credentials (which I have) and then download to our internal ftp server and then copy... (3 Replies)
Discussion started by: ghath
3 Replies
5. Shell Programming and Scripting
Hi,
I have a CSV with following type of data and would like to replace the timestamp information with 'null' string. Can you please suggest me on same?
8,1,'1','1',11,'2013-08-12 18:34:17.0','null',1,'2013-08-12 18:34:17.0','null','PROMOTIONAL','12','1','11','11',11,'0'
Thanks for your... (10 Replies)
Discussion started by: bhupinder08
10 Replies
6. Red Hat
How to check whether the disk in linux machine are internal or external ( from nas or san). How to identify internal(local) and external disks. Following are some details of my server. Thanks.
#df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 15G 3.5G 10G... (2 Replies)
Discussion started by: salmanraza
2 Replies
7. Shell Programming and Scripting
Hi,
I'm trying to replace a string with sed, in a text file containing this pattern:
location alpha
value x
location beta
value y
location gamma
value y
location delta
value y
location theta
value z
...
What I want to achieve is:
Find location beta into text file... (1 Reply)
Discussion started by: TECK
1 Replies
8. Shell Programming and Scripting
Not able to paste my content. Please see the attachment :-( (2 Replies)
Discussion started by: vivek d r
2 Replies
9. Shell Programming and Scripting
Hi,
I know how to replace a string with another in a file.
But, i wish to replace the below string pattern
EncryptedPassword="{gafgfa}]\asffafsf312a" i.e EncryptedPassword="<any random string>"
To
EncryptedPassword=""
i.e remove the random password to a empty string.
Can you... (3 Replies)
Discussion started by: mohtashims
3 Replies
LEARN ABOUT LINUX
wxfiledialog
wxFileDialog(3erl) Erlang Module Definition wxFileDialog(3erl)
NAME
wxFileDialog - See external documentation: wxFileDialog.
DESCRIPTION
See external documentation: wxFileDialog .
This class is derived (and can use functions) from:
wxDialog
wxTopLevelWindow
wxWindow
wxEvtHandler
DATA TYPES
wxFileDialog() :
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc
or distributed for use on other nodes.
EXPORTS
new(Parent::wxWindow() (see module wxWindow)) -> wxFileDialog()
Equivalent to new(Parent, []) .
new(Parent::wxWindow() (see module wxWindow), Options::[Option]) -> wxFileDialog()
Types Option = {message, string()} | {defaultDir, string()} | {defaultFile, string()} | {wildCard, string()} | {style, integer()} |
{pos, {X::integer(), Y::integer()}} | {sz, {W::integer(), H::integer()}}
See external documentation .
getDirectory(This::wxFileDialog()) -> string()
See external documentation .
getFilename(This::wxFileDialog()) -> string()
See external documentation .
getFilenames(This::wxFileDialog()) -> [[string()]]
See external documentation .
getFilterIndex(This::wxFileDialog()) -> integer()
See external documentation .
getMessage(This::wxFileDialog()) -> string()
See external documentation .
getPath(This::wxFileDialog()) -> string()
See external documentation .
getPaths(This::wxFileDialog()) -> [[string()]]
See external documentation .
getWildcard(This::wxFileDialog()) -> string()
See external documentation .
setDirectory(This::wxFileDialog(), Dir::string()) -> ok
See external documentation .
setFilename(This::wxFileDialog(), Name::string()) -> ok
See external documentation .
setFilterIndex(This::wxFileDialog(), FilterIndex::integer()) -> ok
See external documentation .
setMessage(This::wxFileDialog(), Message::string()) -> ok
See external documentation .
setPath(This::wxFileDialog(), Path::string()) -> ok
See external documentation .
setWildcard(This::wxFileDialog(), WildCard::string()) -> ok
See external documentation .
destroy(This::wxFileDialog()) -> ok
Destroys this object, do not use object again
AUTHORS
<>
wxErlang 0.98.9 wxFileDialog(3erl)