Sponsored Content
Full Discussion: .pfx file
Top Forums UNIX for Beginners Questions & Answers .pfx file Post 303030776 by Gabriel on Friday 15th of February 2019 10:07:55 AM
Old 02-15-2019
deleted

Last edited by Corona688; 02-15-2019 at 12:01 PM.. Reason: deleted bump
 

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Match list of strings in File A and compare with File B, C and write to a output file in CSV format

Hi Friends, I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving... File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies

2. Shell Programming and Scripting

Compare 2 text file with 1 column in each file and write mismatch data to 3rd file

Hi, I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file. File1 - file2 = file3 wc -l file1.txt 58112 wc -l file2.txt 55260 head -5 file1.txt 101214200123 101214700300 101250030067 101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies

3. Shell Programming and Scripting

Shell script (sh file) logic to compare contents of one file with another file and output to file

Shell script logic Hi I have 2 input files like with file 1 content as (file1) "BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt File 2 contents as fle(2) "BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
TEMPNAM(3)						     Linux Programmer's Manual							TEMPNAM(3)

NAME
tempnam - create a name for a temporary file SYNOPSIS
#include <stdio.h> char *tempnam(const char *dir, const char *pfx); DESCRIPTION
The tempnam() function returns a pointer to a string that is a valid filename, and such that a file with this name did not exist when temp- nam() checked. The filename suffix of the pathname generated will start with pfx in case pfx is a non-NULL string of at most five bytes. The directory prefix part of the pathname generated is required to be `appropriate' (often that at least implies writable). Attempts to find an appropriate directory go through the following steps: (i) In case the environment variable TMPDIR exists and contains the name of an appropriate directory, that is used. (ii) Otherwise, if the dir argument is non-NULL and appropriate, it is used. (iii) Otherwise, P_tmpdir (as defined in <stdio.h>) is used when appropriate. (iv) Finally an implementation-defined directory may be used. RETURN VALUE
The tempnam() function returns a pointer to a unique temporary filename, or NULL if a unique name cannot be generated. ERRORS
ENOMEM Allocation of storage failed. NOTES
SUSv2 does not mention the use of TMPDIR; glibc will use it only when the program is not suid. SVID2 specifies that the directory used under (iv) is /tmp. SVID2 specifies that the string returned by tempnam() was allocated using malloc(3) and hence can be freed by free(3). The tempnam() function generates a different string each time it is called, up to TMP_MAX (defined in <stdio.h>) times. If it is called more than TMP_MAX times, the behaviour is implementation defined. In case the pfx argument has length larger than five, glibc will use the first five bytes. Upon failure to find a unique name, glibc will return EEXIST. BUGS
The precise meaning of `appropriate' is undefined; it is unspecified how accessibility of a directory is determined. Never use this func- tion. Use mkstemp(3) instead. CONFORMING TO
SVID 2, BSD 4.3 SEE ALSO
mktemp(3), mkstemp(3), tmpfile(3), tmpnam(3) 1999-06-14 TEMPNAM(3)
All times are GMT -4. The time now is 09:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy