02-21-2019
Will look into ... thanks Rudi.
Good catch!
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi ,
I have written a shell script that takes the current date on the server and stores it in a file.
echo get /usr/home/data-`date '+%Y%d'`.xml> /usr/local/sandeep/GetFILE.ini
I call this GetFILE.ini file from an sftp program to fetch a file from /usr/home/ as location. The file is in... (3 Replies)
Discussion started by: bsandeep_80
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I would like to know the command to get the files order in descending order with "FIND" command.
Appreciate your help
Thanks (4 Replies)
Discussion started by: TonySolarisAdmi
4 Replies
3. Shell Programming and Scripting
hii all.
I have to get the date of the 7th day past from the current date.
if i give the current date as sep 3 then i must get the date as 27th of august.
can we get the values from the "cal" command.
cal | awk '{print $2}' will this type of command work.
actually my need is
if today is... (17 Replies)
Discussion started by: ladtony
17 Replies
4. Shell Programming and Scripting
Hi everybody,
I'd like to think I've been through the search tool not only on this site, but also on google too, but I haven't been able to find what I was looking for. If I might've missed something on this forum, please slap me in the face with a link that you consider useful for my query :D
... (4 Replies)
Discussion started by: dilibau
4 Replies
5. Shell Programming and Scripting
Hi all,
Need an urgent help on the below scenario.
script:
awk -F","
'BEGIN { #some variable assignment}
{ #some calculation and put values in array}
END {
year=#getting it from array and assume this will be 2014
month=#getting it from array and this will be 05
date=#... (7 Replies)
Discussion started by: vijaidhas
7 Replies
6. UNIX for Dummies Questions & Answers
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Discussion started by: yuvaa27
1 Replies
7. Shell Programming and Scripting
Hello All,
There are various codes available to find the intersection between two sets in python. But my case is the following:
I want to find the continual common pattern in different lists compared to list1.
(i have underlined the longest common patterns in set a and set b)
a = 2, 3, 5,... (1 Reply)
Discussion started by: Zam_1234
1 Replies
LEARN ABOUT HPUX
dteditorchange
DtEditorChange(library call) DtEditorChange(library call)
NAME
DtEditorChange -- change one or all occurrences of a string in a DtEditor widget
SYNOPSIS
#include <Dt/Editor.h>
Boolean DtEditorChange(
Widget widget,
DtEditorChangeValues *findChangeStrings,
unsigned int instanceToChange);
DESCRIPTION
The DtEditorChange function replaces the next occurrence of a string, all occurrences of the string, or the currently selected text in a
DtEditor widget with a replacement string. The string to search for and the value to change it to can be the last values entered in the
Find/Change dialog (see DtEditorInvokeFindChangeDialog(3)) or passed as arguments to DtEditorChange.
The search begins at the insertion cursor. If the string is not found by the time the end of the document is reached, the search continues
at the beginning of the document, stopping at the character before the insertion cursor.
The widget argument specifies the DtEditor widget ID.
The findChangeStrings argument specifies the string to change and the replacement value. If findChangeStrings is NULL, DtEditorChange uses
the last string specified in the Find and Change To fields of the Find/Change dialog. If the instanceToChange argument is DtEDITOR_CUR-
RENT_SELECTION, the Find field of DtEditorChangeValues is ignored.
If the instanceToChange argument is set to DtEDITOR_NEXT_OCCURRENCE, DtEditorChange replaces the next occurrence (relative to the insertion
cursor) of the find string. If this argument is set to DtEDITOR_ALL_OCCURRENCES, all instances of the find string are changed. If this
argument ia set to DtEDITOR_CURRENT_SELECTION, the Find field of DtEditorChangeValues, is ignored and the currently selected text is
replaced.
For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3).
For a complete definition of DtEditorChangeValues, see Dt/Editor.h - DtEditor(5).
RETURN VALUE
Upon successful completion, the DtEditorChange function returns True if the substitution occurred; otherwise, it returns False.
SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorFind(3), DtEditorInvokeFindChangeDialog(3).
DtEditorChange(library call)