10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I starting teaching myself python and am stuck on trying to understand why I am not getting the output that I want. Long story short, I am using PDB for debugging and here my function in which I am having my issue:
import re
...
...
...
def find_all_flvs(url):
soup =... (1 Reply)
Discussion started by: metallica1973
1 Replies
2. Shell Programming and Scripting
I was looking through some code online and came accross this...
ls *.txt | grep text1 | cat file1 – file2 | `echo wc –l`
I know what "ls|grep text1" does and I know a word count gets echoed but beyond that I am confused. Please use layman terms as much as possible as I am a newbie. (8 Replies)
Discussion started by: elohssa
8 Replies
3. Shell Programming and Scripting
Hello,
Although I have found similar questions, I could not find
advice that could help with my problem. The issue:
I am trying to replace all occurrences of a regex, but
I cannot make the regex groups work together.
This is a simple input test file:
The Vedanta Philosophy... (3 Replies)
Discussion started by: samask
3 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I am sure this is very simple but I cant quite get it.
I am trying to search textfile1.txt for a string then take the results of the search and append the result to textfile3.txt
So far I have used
$ find file1.txt -exec grep "string i am looking for" '{}' \; -print
this... (2 Replies)
Discussion started by: radgator
2 Replies
5. UNIX for Dummies Questions & Answers
Hey. i am doing a lab work for shcool I am new to using the commands. This question is give to me. I do not no the length of file nor do i know the how many charterers they are in the question. Question below
"Assume that you are NOT currently in your home directory.
Enter a command to copy... (1 Reply)
Discussion started by: maniac173
1 Replies
6. Shell Programming and Scripting
Hello everyone,
I am having to do a lot of perl scripting these days and I am learning a lot.
I have this problem
I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files..
there is folder1\folder2\*.gz
and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies
7. UNIX for Dummies Questions & Answers
Hello everyone,
Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware.
I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies
8. UNIX for Dummies Questions & Answers
I am taking a db classes toward oracle 10g. I am taking unix as well . I need to know what is the best option for os . should I use linux fedora. or get a sun box and start learning from there. Thanks (6 Replies)
Discussion started by: xzyan
6 Replies
9. Shell Programming and Scripting
hey all, I have repeatedly seen scripts containing the following syntax,
grep "hello" $myfile >> $log 2>&1
can anyone explain exactly what "2>&1" mean? THANK YOU (4 Replies)
Discussion started by: mpang_
4 Replies
10. UNIX for Dummies Questions & Answers
hi
im thinking of getting unix but i have no idea where to start I know that its an OS similar to linux but what hardware does in run on? i've heard of solaris but im not quit sure what it is
thankxs (3 Replies)
Discussion started by: ninja
3 Replies
DtWsmGetCurrentBackdropWindow(library call) DtWsmGetCurrentBackdropWindow(library call)
NAME
DtWsmGetCurrentBackdropWindow -- get the backdrop window for the current workspace
SYNOPSIS
#include <Dt/Wsm.h>
Window DtWsmGetCurrentBackdropWindow(
Display *display,
Window root);
DESCRIPTION
The DtWsmGetCurrentBackdropWindow function works with the CDE workspace manager, dtwm(1), and returns the window used as the backdrop for
the current workspace.
The display argument is the X display.
The root argument is the root window of the screen of interest.
RETURN VALUE
Upon successful completion, the DtWsmGetCurrentBackdropWindow returns the window used as the backdrop for the current workspace. The func-
tion returns None if there is no backdrop window for the workspace or if the CDE workspace manager is not running.
APPLICATION USAGE
If the DtWsmGetCurrentBackdropWindow function is not successful, failure may be due to a memory allocation error or failure to find the
correct workspace information (that is, the CDE workspace manager, dtwm(1), is not running).
SEE ALSO
Dt/Wsm.h - DtWsm(5), dtwm(1), DtWsmGetCurrentWorkspace(3), DtWsmGetWorkspaceInfo(3).
DtWsmGetCurrentBackdropWindow(library call)