Do you know of any methods where I can send an input of passwords into the passwd command? For instance, I have a file which has the password stored and I want it to be sent into this command "passwd gilberteu" when it prompts for the new password and subsequently confirming the password that was... (0 Replies)
I'm working in korn shell and have a variable which contains a string like:
aa_yyyymmdd_bbb_ccc_ddd.abc. I want to treat the _ and . as delimiters and parse the string so I end up with 6 values in variables that I can manipulate. My original plan was to use
var1=`echo $sting1 | cut -c1-c2` but... (9 Replies)
Hi Guys,
I am new to unix scripting and I am tasked to parse through a CSV file delimited by #.
Sample:
sample.csv
H#A#B#C
D#A#B#C
T#A#B#C
H = Header
D = Detail Record
T = Tail
What I need is to read the file and parse through it to get the columns.
I have no idea on how... (8 Replies)
Trying to finish up my script that automates some video encoding work.
Situation: There is an MKV file to be transcoded.
Problem: MKVINFO will give a bunch of output about an MKV file, included in that output are two lines I am interested in:
| + Default duration: 41.708ms (23.976 fps... (9 Replies)
Hello
I need to pass some environment parameters to a datastage job and am getting an error when trying to send the complete concatinated variable. I have decided to parse out just the values and send as parameters but am struggling to find the best way to do this (actually I am not very... (3 Replies)
Hello!. I am working on a very simple program and I have been trying different things. This is so far what I have done and there is one small detail that still does not work. It finds all the records in a phonebook per say:
./rem Susan
More than one match; Please select the one to remove: ... (3 Replies)
The script must ask the user to enter the user name and check whether the user exists in /etc/passwd (you must allow the partial usernames also). If the username exists, display the details as:
List of users
Login Name:
User ID:
... (3 Replies)
Hi there, would appreciate some help on this parsing problem if anybody can help
im trying to parse a variable with the following output, each of the values im trying to parse are deliminated by a ;
T192... (8 Replies)
Hi,
i have another problem. I have been trying to solve it by myself but failed.
inputfile
;;
ID T08578
NAME T08578
SBASE 30696
EBASE 32083
TYPE P
func just test
func chronology
func cholesterol
func null
INT 30765-37333
INT 37154-37318
Link 5546
Link 8142 (4 Replies)
Discussion started by: redse171
4 Replies
LEARN ABOUT DEBIAN
globus_gram_job_manager_script_interface
globus_gram_job_manager_script_interface(3) globus gram job manager globus_gram_job_manager_script_interface(3)NAME
globus_gram_job_manager_script_interface - Job Manager Scheduler Interface The GRAM Job Manager interfaces with the job filesystems and
scheduler through scheduler-specific Perl modules.
GRAM provides several Perl modules which can be used to implement scheduler-specific interfaces to the GRAM Job Manager. These are:
Globus::GRAM::Error
This module implements the GRAM error results as objects. Methods in this module will construct a GRAM error with the value matching
the values in the GRAM Protocol library. A scheduler-specific JobManager module may return one of these objects from its methods to
indicate errors to the Job Manager program.
Globus::GRAM::JobState
This module defines the GRAM job state constants. A scheduler-specific JobManager module returns one of these values from its methods
to indicate the managed job's current state.
Globus::GRAM::JobSignal
This module defines the GRAM job signal constant values. The Job Manager uses these values to communicate which signal is being invoked
in the manager's signal method.
Globus::GRAM::JobManager
This module defines the actual implementatoin of the Job Manager scheduler interface. One writing a scheduler-specific GRAM interface
will create a subclass of this object which overrides the default implementation's methods.
Globus::GRAM::JobDescription
This module mimics the RSL job description using perl syntax. The job manager passes an object of this type to the JobManager modules's
constructor. The job manager stores RSL and some configuration values in that JobDescription object. The manager accesses values stored
in the JobDescription by invoking methods containing the RSL attribute's name (example: $description->gram_my_job()). Method names are
handled as if they were based on the canonical RSL representation of the attribute name. For example, the gram_my_job may be
equivalently referred to as GramMyJob, grammyjob, or GRAM_My_Job.
Version 13.33 Mon Apr 30 2012 globus_gram_job_manager_script_interface(3)