11-08-2019
Hi vgersh99
I think it was checking case sensitive and ignore if it dont match. How to ignore case sensitive
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've got a bunch of files called oldabc, olddef etc.
i want to copy these to be abc, def....
I can do this with file extensions....but can get the logic to work for prefixes. All the files I am interested in have a prefix of 'old'.
This loop is no good for me....it looks at the content... (2 Replies)
Discussion started by: peter.herlihy
2 Replies
2. Shell Programming and Scripting
Hi
Input File:
export NAME='AA.BB.CC'
export FILE=1.2.3
AA.BB.CC
export MAIL= '1.3.3'
export char='XX.YY.ZZ'
Out File
export NAME='AA/BB/CC'
export FILE=1.2.3
AA.BB.CC
export MAIL= '1.3.3'
export char='XX/YY/ZZ'
Only the Lines which have export and have alphabets after =... (9 Replies)
Discussion started by: pbsrinivas
9 Replies
3. Shell Programming and Scripting
Hi,
I have a variable, which contains comma separated values. Something like.
StringA="abc,def,ghi,jkl"
I want to apply prefix and suffix to each value in the string without using any loops.
Say if Prefix is Pre_ and Suffix is _Suf then I need to get
... (1 Reply)
Discussion started by: tostay2003
1 Replies
4. UNIX for Dummies Questions & Answers
I have a file:
chromosome1:436728
chromosome2:32892
.....
chromosome22:23781
I just want to get the number, not the prefix "chromosomeX", so I want to remove all the prefix ahead of the numbers. How can I do that?? Thanks!!! (PS: give me some very simple command so that I can understand... (4 Replies)
Discussion started by: kaixinsjtu
4 Replies
5. UNIX for Dummies Questions & Answers
OK, now I just feel plain silly asking this. But I am very much a beginner at compiling and installing Unix software, so...
When setting the prefix, do you also have to specify the directory the files reside in? For example, lets say I am installing cURL in /usr/local
Would I set the prefix... (1 Reply)
Discussion started by: RobertSubnet
1 Replies
6. UNIX for Dummies Questions & Answers
In unix when I run rm command, it asks for file removal confirmation e.g.
rm netmail_log.csv
rm: remove netmail_log.csv (yes/no)? n
But if i prefix backslash to rm it does not ask for confirmation. Does anyone know what backslash does to command or shell ?
e.g.
\rm netmail_log.csv (1 Reply)
Discussion started by: Devdatta
1 Replies
7. Shell Programming and Scripting
I want to append values to same string variable inside a recursive function that I have .. I do not want to write to any file but use a variable..
Can anyone please help with it? Thanks in advance. (6 Replies)
Discussion started by: Prev
6 Replies
8. Shell Programming and Scripting
Hi,
I have a directory with Multiple subdirectories and 1000s of pictures (jpg) in each directory. The problem is that each directory has a 001.jpg in them. I want to append a unique name (the directory_name)would be fine. and then move them to one main backup directory once they have been... (1 Reply)
Discussion started by: kmaq7621
1 Replies
9. Shell Programming and Scripting
Hello everyone,
I want to remove only prefix ME_ from all the values that are present in the FILEA. Below code I'm using for this.
sed 's/ME\_//g' FILEA > FILEB
Using the above code, all ME_ values are getting removed from the file. But the problem here is I want to remove only Prefix ME_... (4 Replies)
Discussion started by: ed_9
4 Replies
10. Shell Programming and Scripting
Dear All,
assume i have a file with content:
<Start>6000</Start>
<Stop>7599</Stop>
the output is:
6000
7000
7100
7200
7300
7400
7599
how should we use any awk, sed, perl can do this task, means to extract the uniq prefixes from the start and stop prefix.
Thanks
Jimmy (3 Replies)
Discussion started by: jimmy_y
3 Replies
LEARN ABOUT OSF1
xtissensitive
XtSetSensitive(3Xt) XtSetSensitive(3Xt)
NAME
XtSetSensitive, XtIsSensitive - set and check a widget's sensitivity state
SYNOPSIS
void XtSetSensitive(w, sensitive)
Widget w;
Boolean sensitive;
Boolean XtIsSensitive(w)
Widget w;
ARGUMENTS
Specifies a Boolean value that indicates whether the widget should receive keyboard and pointer events. Specifies the widget.
DESCRIPTION
The XtSetSensitive function first calls XtSetValues on the current widget with an argument list specifying that the sensitive field should
change to the new value. It then recursively propagates the new value down the managed children tree by calling XtSetValues on each child
to set the ancestor_sensitive to the new value if the new values for sensitive and the child's ancestor_sensitive are not the same.
XtSetSensitive calls XtSetValues to change sensitive and ancestor_sensitive. Therefore, when one of these changes, the widget's set_values
procedure should take whatever display actions are needed (for example, greying out or stippling the widget).
XtSetSensitive maintains the invariant that if parent has either sensitive or ancestor_sensitive False, then all children have ances-
tor_sensitive False.
The XtIsSensitive function returns True or False to indicate whether or not user input events are being dispatched. If both core.sensitive
and core.ancestor_sensitive are True, XtIsSensitive returns True; otherwise, it returns False.
SEE ALSO
X Toolkit Intrinsics -- C Language Interface
Xlib -- C Language X Interface
XtSetSensitive(3Xt)