11-19-2007
Could you provide your code so that we may assist you?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am looking for a Unix shell script for file naming such that the file names itself as KARAN0001.
The 4 digit sequence number must start at 0001 and end at 9999.
After 9999 is reached, the number must reset to 0001.
Can anyone please help me with that.
Thanks & Regards
... (2 Replies)
Discussion started by: karansachdeva
2 Replies
2. Shell Programming and Scripting
Hi,
I want to create a file named 'abc(+1)' and append the data of file 'abc' to it. But getting error as unexpected'(' when i tried to use the following command.
cat abc > abc(+1)
Is there any other way to include brackets along with +1 in the file name?
TIA. (3 Replies)
Discussion started by: vimalr
3 Replies
3. Shell Programming and Scripting
hi all,
Please advise at what circumstance those file will become
-rwxr-xr-x 1 psa psa 1969088 Aug 18 2006 #libaa.sl
-rwx------ 1 psa psa 2166784 Jul 25 2006 #libcrypto.sl.0.9.7
-rwx------ 1 psa psa 904040 Jul 25 2006 #libxxx.sl
-rwx------ 1 psa ... (2 Replies)
Discussion started by: rauphelhunter
2 Replies
4. Shell Programming and Scripting
Hi,
I need some help!
I have a file in which i im splitting into 20 different files each called
model_001.in
model_002.in
etc...
i would like to make directory for each file using only the name and not the extension so that the directory names are
model_001
model_002
etc.
... (8 Replies)
Discussion started by: olifu02
8 Replies
5. Shell Programming and Scripting
Hi All,
I have a rather stange set of requirements that I'm hoping someone here could help me with. We receive a file that is actually a concatenation of 4 files (don't believe this would change, but ideally the solution would handle n files).
The super-file looks like:... (7 Replies)
Discussion started by: Leedor
7 Replies
6. Shell Programming and Scripting
Hi,
su - oracle<<EOC
export PATH=${PATH}:${ORACLE_HOME}/bin
exit
EOC
set `sqlplus -S $user_name/$password@$tns<<EOS
set head off
select min(time),max(time) from products;
exit;
EOS`
var1=$1
var2=$2
su - oracle -c "exp user/pass@localdb... (7 Replies)
Discussion started by: milink
7 Replies
7. Red Hat
Hi,
I am installing a new RHEL 5 application server containing JBOSS along with other specific 3rd party applications. I know that this usually gets installed in /opt but I was thinking of installing these on a new separtate lv / file system instead.
i.e.
/<my_new_FS_name>
rather than... (6 Replies)
Discussion started by: Duffs22
6 Replies
8. Shell Programming and Scripting
#!/bin/bash
while read inputline
do
what="$inputline"
echo $what;
if ;
then
exit
fi
$reextend $what
$print ls -a
done
this is my code i am trying to change all of the file types of a certain directory to another file type but im not all the way there can someone help please (3 Replies)
Discussion started by: domdom110
3 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I have a problem with file naming in linux. I have to create a file named like 11/22.csv but shell displays error: no such file or dir. Problem is / character in the file name. I searched unix linux naming concepts and it's restricted in OS. Please tell me if there's any other chance?
OS... (3 Replies)
Discussion started by: sembii
3 Replies
10. Shell Programming and Scripting
Hi,
I have a folder that contains files
abc.txt
def.txt
....and so on
Inside abc.txt, I have @<TRIPOS>MOLECULE
4|Chelerythrine|abcb11_earlyIdentification_Stronginhib_washed_ligprep|sdf|1|dock
Inside def.txt, I have @<TRIPOS>MOLECULE... (6 Replies)
Discussion started by: rossi
6 Replies
LEARN ABOUT DEBIAN
globus_gsi_gss_assist_tokens
Security Token Transport(3) globus gss assist Security Token Transport(3)
NAME
Security Token Transport -
Token Get File Descriptor
int globus_gss_assist_token_get_fd (void *arg, void **bufp, size_t *sizep)
Token Send File Descriptor
int globus_gss_assist_token_send_fd (void *arg, void *buf, size_t size)
Token Send File Descriptor Without Length
int globus_gss_assist_token_send_fd_without_length (void *arg, void *buf, size_t size)
Token Send File Descriptor Flag EX
int globus_gss_assist_token_send_fd_ex (void *exp, void *buf, size_t size)
Detailed Description
Token routines using fread and fwrite.
Additional code has been added to detect tokens which are sent without a length field. These can currently be only SSL tokens. This does
require some knowledge of the underlying GSSAPI, by the application, but is within the guidelines of the GSSAPI specifications.
The get routine will automaticly attempt this test, while a new send routine will check a flag. The old send routine will work as before,
sending a 4-byte length.
Function Documentation
int globus_gss_assist_token_get_fd (void *arg, void **bufp, size_t *sizep)
Use a open file discriptor to get a token. This function provides parameter types that allow it to be passed to
globus_gss_assist_init_sec_context and globus_gss_assist_accept_sec_context
Parameters:
arg the FILE * stream cast to a void pointer
bufp the resulting token
sizep the size (number of bytes) read into bufp
Returns:
0 on success > 0 is internal return < 0 is the -errno
int globus_gss_assist_token_send_fd (void *arg, void *buf, size_tsize)
Write a token to the open file descriptor. WIll write it with a 4 byte length. This function provides parameter types that allow it to be
passed to globus_gss_assist_init_sec_context and globus_gss_assist_accept_sec_context
Parameters:
arg the FILE * stream to send the token on
buf the token
size the size of the token in bytes
Returns:
0 on success >0 on error <0 on errno error
int globus_gss_assist_token_send_fd_without_length (void *arg, void *buf, size_tsize)
Write a token to the open file descripter. Will write it without a length. so as to
int globus_gss_assist_token_send_fd_ex (void *exp, void *buf, size_tsize)
Write a token to the open file descripter. will look at the flag to determine if the length field need to be written.
Parameters:
exp the globus_gss_assist_ex variable that holds the FILE * stream and flags to bet set
buf the token buffer to send
size size of the token buffer
Returns:
0 on success >0 on error <0 on errno error (-errno)
Author
Generated automatically by Doxygen for globus gss assist from the source code.
Version 8.5 Mon Apr 30 2012 Security Token Transport(3)