Hello All,
I have a string type variable called "FULLSTR".
This variable has a value of "path=/type/source/logs".
I need to cut the characters after the character "=" to end of the string.
Example: the new variable "MATCHSTR" should have value like this...
"/type/source/logs"
So... (2 Replies)
HI,
I want to cut end string from line.
e.g. i have following input line
/users/home/test.txt
I want to get end string 'test.txt' from above line and length of that end string will change and it always start after '/'.
Thanks,
Visu (7 Replies)
i need to cut the string in a textfile but each line has a specific way of cutting it (different lengths)
i have a for loop that gets the string line per line, then each line has to be compared:
for x in `cat tmp2.txt`; do
if; then
echo 'BAC'
elif
... (6 Replies)
Hello,
i have a file, i open the file and read the line, i want to get the first item in the csv file and also teh third+6 item and wirte it to a new csv file. only problem is that using echo it takes TOO LONG:
please help a newbie. below is my code:
WorkingDir=$1
FileName=`cut -d ',' -f... (2 Replies)
Hi ,
I want to read below output, lets called it output1.txt and each string for every line will be declare as a variables.
This is the input file
196 server_a server_unix_2 FW
196 server_b server_win_1 CD
196 server_c server_win_2 CD
196 server_bd ... (2 Replies)
hello,
i need to cut a string in unix but not from file ,, from variable, i searched on special line , and i need a specific data from this line , i get it on variable, how can i cut data that i need ??? merci (2 Replies)
hi all
In my bash script I want to cut a line up to a specific string and keep the rest of it but only up to a ".How can I do that?I imagine something with sed..
Let's say my line is:
Jennifer Jones (student) "id:376765748587/7465674775" NewYork
and i only want to keep:
... (9 Replies)
I need to remove double quoted strings from specific lines in a file. The specific line numbers are a variable. For example, line 5 of the file contains
A B C "string"
I want to remove "string". The following sed command works:
sed '5 s/\"*\"//' $file
If there are multiple... (2 Replies)
Hi
I have the follwoing requirement
I have a file as follows:
# cat priy
yyy.poweroff_cmd = /sbin/poweroff
hhh.powersave-nap = 1
When this file is provided as input, I first used "awk" command and saved variables present after "="
replace=$line
replace1=`echo $line | awk -F "="... (3 Replies)
Discussion started by: Priya Amaresh
3 Replies
LEARN ABOUT REDHAT
pvm_kill
KILL(3PVM) PVM Version 3.4 KILL(3PVM)NAME
pvm_kill - Terminates a specified PVM process.
SYNOPSIS
C int info = pvm_kill( int tid )
Fortran call pvmfkill( tid, info )
PARAMETERS
tid Integer task identifier of the PVM process to be killed (not yourself).
info Integer status code returned by the routine. Values less than zero indicate an error.
DESCRIPTION
The routine pvm_kill sends a terminate (SIGTERM) signal to the PVM process identified by tid. In the case of multiprocessors the terminate
signal is replaced with a host dependent method for killing a process. If pvm_kill is successful, info will be 0. If some error occurs
then info will be < 0.
pvm_kill is not designed to kill the calling process. To kill yourself in C call pvm_exit() followed by exit(). To kill yourself in For-
tran call pvmfexit followed by stop.
EXAMPLES
C:
info = pvm_kill( tid );
Fortran:
CALL PVMFKILL( TID, INFO )
ERRORS
These error conditions can be returned by pvm_kill
PvmBadParam
giving an invalid tid value.
PvmSysErr
pvmd not responding.
SEE ALSO pvm_exit(3PVM), pvm_halt(3PVM)
30 August, 1993 KILL(3PVM)