I'm not very familiar with the ssh command. When I tried to set a variable and then echo its value on a remote machine via ssh, I found a problem. For example,
$ ITSME=itsme
$ ssh xxx.xxxx.xxx.xxx "ITSME=itsyou; echo $ITSME"
itsme
$ ssh xxx.xxxx.xxx.xxx 'ITSME=itsyou; echo $ITSME'
itsyou
$... (3 Replies)
I have a file with 1 column and its data is as follows;
"Happy Hour, Party on 18"" staged on 20th."
Can anyone please suggest me how do I remove the embedded quote in data stage while reading this column.
awk or sed might be able to do the trick . but i am not sure how to accomplish this.
... (4 Replies)
Hi guys, I have a sed line in double quotes which works fine, but I want it to be in single quotes
here is the sed line
sed "/abc_def/s/\'.*\'/\'\${abc_def}\'/"
can some one give the equivalent to the above script in single quotes
Thanks a ton (5 Replies)
Hi,
I am using the following command to create a log file.
echo "`date` Starting the workflow" >> MYLOG_`date '+%d%m%Y'`.log
My application (Informatica) takes the above command and issues the following to the UNIX server.
sh -c "echo "`date` Starting the workflow" >> MYLOG_`date... (1 Reply)
Hi
I have to run a query in a remote postgresql server but I'm having troubles with quotes, what I need to do is:
Login to remote server
su as cpanel user
execute the query
The following code works well if USERH is a numerical value, the problem is went USERH is a string (example... (8 Replies)
Unix superusers,
I am new to unix but would like to learn more about grep. I am very familiar with regular expressions as i have used them for searching text files in windows based text editors. Since I am not very familiar with Unix, I dont understand when one should use GREP with the... (2 Replies)
Hi,
I have data as
"01/22/97-"aaaaaaaaaaaaaaaaa""aaa""aabbbbbbbbcccccc""zbcd""dddddddddeeeeeeeeefffffff"
I want to remove only the Consequitive double quotes and not the one which occurs single.
My O/P must be ... (2 Replies)
Hi,
Trying to change the prompt. I have the following code.
export PS1='
<${USER}@`hostname -s`>$ '
The hostname is not displayed
<abc@`hostname -s`>$ uname -a
AIX xyz 1 6 00F736154C00
<adcwl4h@`hostname -s`>$
If I use double quotes, then the hostname is printed properly but... (3 Replies)
Hi Froum.
I have tried in vain to find a solution for this problem - I'm trying to replace any double quotes within a quoted string with a single quote, leaving everything else as is.
I have the following data:
Before:
... (32 Replies)
Hi All,
I'm unable to load the data using sql loader where there are double quotes within the double quotes As these are optionally enclosed by double quotes.
Sample Data :
"221100",138.00,"D","0019/1477","44012075","49938","49938/15043000","Television - 22" Refurbished - Airwave","Supply... (6 Replies)
Discussion started by: mlavanya
6 Replies
LEARN ABOUT HPUX
dtinfolib
DtInfoLib(file format) DtInfoLib(file format)
NAME
DtInfoLib -- collection of book cases for browsing with dtinfo
SYNOPSIS
DtInfo_LoadInfoLib
Criteria:
DATA_ATTRIBUTES_NAME: DtInfoLib
NAME_PATTERN: ?*.dti*
CONTENT: 0 filename .oli
MODE: d|l
LINK_NAME: ?*.dti*
Attributes:
TYPE_LABEL: DtInfoLib
DESCRIPTION: On-line documentation for the Information Manager.
ICON: Dtinlib
PROPERTIES: NULL
ACTIONS: Open
IS_TEXT: false (could be true for criteria 2 match)
INSTANCE_ICON Field: [available for publisher-supplied or user's infolib icon]
DESCRIPTION
DtInfoLib is a desktop object representing a collection of book cases of documents that can be accessed through the CDE Information Man-
ager. DtInfoLib data criteria and data attributes are identified for use by desktop facilities. These are part of the CDE built-in data
types.
DtInfoLib is a directory that contains the collection of book cases available for a given information library. The contents of the DtIn-
foLib directory are not visible to the end-user through the desktop. The DtInfoLib object can be launched directly by double-clicking on
the associated icon or by dragging the icon on to the Information Manager icon in the File Manager or on the Front Panel.
ENVIRONMENT VARIABLES
If defined, the environment variable DTINFOLIBSEARCHPATH may be used to find the default infolib (or infolibs) for the system. If provided,
the dtinfo command line argument given with the -l option overrides the environment. If none of the other path mechanisms are used, the
browser uses the standard CDE path.
ACTIONS /MESSAGES
Double-clicking on the DtInfoLib object, or selecting Open from the objects select menu invokes the Open action on the object.
FILES
The default location for the desktop on line documentation library is /usr/dt/infolib/%L.
SEE ALSO dtinfo(1), dtinfogen(1), dtinfoBook.dtd - dtinfoBookdtd(5), DtMmdbBookCaseGetInfo(3), DtMmdbInfoLibInfo(5)
DtInfoLib(file format)