Sponsored Content
Top Forums UNIX for Advanced & Expert Users file extension based software execution Post 10152 by PxT on Thursday 8th of November 2001 01:21:53 PM
Old 11-08-2001
See the CDE help on "Creating an Action" and "Creating a Data Type"
 

8 More Discussions You Might Find Interesting

1. AIX

Software-based RAID5 on Aix

Hello All. Is it possible? (5 Replies)
Discussion started by: sapbcer
5 Replies

2. Shell Programming and Scripting

Execution problem with sort the file based on contents

My input file: >ali ASSDDGHFHFHJFJHJDSDGSDGSDGSDGSDGSDGSDGDSGDSGSDGDSGSDGSDGDSGSDGGDSG >zzz ASdASDASDSADSADDSADJKHJDSADKLJADKLSAJDLJLKJLDASDDSADd >abu ASDASDFSAFASFSADFASDASDSADSADSADSADSADSADASDASdSADSADSADA >aaa... (2 Replies)
Discussion started by: patrick87
2 Replies

3. Shell Programming and Scripting

Adding lines to files based on file extension

I have posted this before but did not get many replies, so here it goes again. I have several files name like this If the file extension is 1a, I woould like to add at the beggining of the file the following sequence If the file extension is 1b, thn the entry that should be added is the next... (2 Replies)
Discussion started by: Xterra
2 Replies

4. Shell Programming and Scripting

Continue Execution Based On List

Hi all. I have a script like this function check_filesize { filesize_1="$(ls -la "$1"|awk '{ print $5 }')" sleep 123 filesize_2="$(ls -la "$1"|awk '{ print $5 }')" if then echo "OK" else echo "NOT OK" sleep 1234 check_filesize $1 fi } function check_TR { chk="$(tail -1 $1|grep... (5 Replies)
Discussion started by: aimy
5 Replies

5. Shell Programming and Scripting

Search files in UNIX based on execution

Hi, I have a UNIX script to fetch all the files for current day. so I am using code-- "files=($(find x.lst -maxdepth 1 -type f -daystart -mtime -1))". But this is not going to work if my job starts at 11 PM and continues till 1AM. In tht case I will loose all files between 11PM to 12AM. Is there... (3 Replies)
Discussion started by: usrrenny
3 Replies

6. UNIX for Dummies Questions & Answers

Display the .csv extension files based on .done extension fine

Hi All, I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing. 1.I need to display the .done files from the directory. 2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory ... (2 Replies)
Discussion started by: girija.g6
2 Replies

7. Shell Programming and Scripting

Conditional deletion of files based on extension

Hello All, I have some files like file, file.chk, file.sem and file.temp in huge. I would like to delete some files based on following criteria. 1. Unconditionally delete .sem and .temp files 2. If we found the actual file, don't remove .chk file, otherwise remove .chk file as well for... (5 Replies)
Discussion started by: VasuKukkapalli
5 Replies

8. Shell Programming and Scripting

Copy files based on specific word in a file name & its extension and putting it in required location

Hello All, Since i'm relatively new in shell script need your guidance. I'm copying files manually based on a specific word in a file name and its extension and then moving it into some destination folder. so if filename contains hyr word and it has .md and .db extension; it will move to TUM/HYR... (13 Replies)
Discussion started by: prajaktaraut
13 Replies
DtWsmSetCurrentWorkspace(library call)									    DtWsmSetCurrentWorkspace(library call)

NAME
DtWsmSetCurrentWorkspace -- set the current workspace SYNOPSIS
#include <Dt/Wsm.h> int DtWsmSetCurrentWorkspace( Widget widget, Atom aWorkspace); DESCRIPTION
The DtWsmSetCurrentWorkspace function works with the CDE workspace manager, dtwm(1), and sets the current workspace. Applications can use this function to switch from the current workspace to another workspace. The widget argument is a realized widget on the screen of interest. The aWorkspace argument is the name (in X atom form) of the workspace to be made current. RETURN VALUE
Upon successful completion, the DtWsmSetCurrentWorkspace function returns Success; otherwise, it returns a value not equal to Success. APPLICATION USAGE
If the DtWsmSetCurrentWorkspace function is not successful, the most likely reason for failure is that the CDE workspace manager, dtwm(1), is not running. The DtWsmSetCurrentWorkspace function requires a widget. A gadget is not acceptable for the widget argument. DtWsmSetCurrentWorkspace sends a message to the CDE workspace manager, dtwm(1), to switch workspaces. If the workspace name is not valid, no action is taken and the workspace manager reports no error. SEE ALSO
Dt/Wsm.h - DtWsm(5), dtwm(1), DtWsmGetCurrentWorkspace(3). DtWsmSetCurrentWorkspace(library call)
All times are GMT -4. The time now is 03:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy