Sponsored Content
Full Discussion: "here documents" and /tmp
Operating Systems Solaris "here documents" and /tmp Post 62744 by Perderabo on Saturday 19th of February 2005 08:06:02 AM
Old 02-19-2005
I think that the filename is supposed to contain the pid of the shell and this should prevent name collisions. Could these be old filenames from shells that aborted? If so the fix is to address the condition(s) causing the aborts. Another though is to periodically clean out the old files. If neither is possible, crucial scripts can be written to not use here-docs.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. Shell Programming and Scripting

Script for delete tmp files older than 15 days and owned by "xxx" id

Hi All , I want to delete files from /tmp directory created by "xxxx" id. because i got the list says more than 60 thousand files were created by "xxxx" id since 2002. The /tmp directory has lot of files created by different user ids like root,system etc.. But, i need a script to... (2 Replies)
Discussion started by: vparunkumar
2 Replies

3. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

4. Solaris

The slices "usr", "opt", "tmp" disappeared!!! Help please.

The system don't boot. on the screen appears following: press enter to maintenance (or type CTRL-D to continue)...I checked with format command. ... the slices "0-root","1-swap","2-backup" exist. ...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Discussion started by: wolfgang
16 Replies

5. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

6. Solaris

Solaris 10 error "-sh: /tmp/outfile: cannot create"

Hello, Each time a user log on to host, they receive below error: -sh: /tmp/outfile: cannot create Example: $ ssh host user@host's password: Last login: Fri Dec 4 08:17:28 2015 from client.ref |-----------------------------------------------------------------| -sh:... (2 Replies)
Discussion started by: feroccimx
2 Replies

7. Shell Programming and Scripting

Issue with rsync: failed to set times on "/tmp/.": Not owner (1)

Hi, Here is my source host and folder details. $ hostname source-host $ id uid=600000208(src-user) gid=64688(src-user) groups=64688(src-user) $ ls -ltrd /web/Trn_File/data/ drwxrwxrwx 3 src-user src-user 4096 Feb 7 15:27 /web/Trn_File/data/ $ ls -ltrd /web/Trn_File/data/* drwxrwxrwx 8... (1 Reply)
Discussion started by: mohtashims
1 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

9. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
DDIF(5) 							File Formats Manual							   DDIF(5)

Name
       DDIF - Digital Document Interchange Format (DDIF) files

Description
       Digital	Document Interchange Format (DDIF) is a DDIS/ASN.1 encoding for the interchange of revisable compound documents with document pro-
       cessing systems.  DDIF is also a document output format, a storage format for user documents residing on a disk, and  a	compound  document
       format.

       The  purpose  of DDIF is to allow the creation of compound documents and also to serve as a standard intermediate format for the conversion
       of documents based on other formats.  For example, a simple ASCII text file can be converted to DDIF, and the DDIF file can  then  be  con-
       verted to PostScript.  A DDIF document can also be converted to ASCII.

       DDIF files are documents or portions of compound documents.  A DDIF document is considered a simple document if it consists of one file.  A
       DDIF document is considered a compound document if it consists of more than one file, the master of which must be a DDIF file.

       A DDIF file can contain storage addresses (for example, filename) of other files, which must be DDIF, ASCII text,  binary,  or  PostScript.
       References to DOTS files is not supported.

       Because	a  DDIF file can reference another DDIF file and the referenced DDIF file can reference other DDIF files, a DDIF document can con-
       sist of a tree of files.

       The following commands are used to manipulate DDIF files:

       cdoc		   Provides a set of converters to and from DDIF format.

       ctod		   Packs DDIF documents into DOTS syntax.  The user can choose to archive a DDIF document in  this  manner.   The  command
			   also copies DDIF files from one location to another.

       dtoc		   Copies DDIF files from one location to another.

       dxvdoc		   Enables  user to view DDIF documents. The command is used on workstations running ULTRIX UWS software.  The command can
			   also display imbedded graphics and image data that is encoded in the DDIF syntax.

       vdoc		   Enables user to view DDIF documents.  The command is for use on character-cell terminals.

       DDIF documents can be mailed to other users.

See Also
       cdoc(1), ctod(1), dtoc(1), vdoc(1), dxvdoc(1X), DOTS(5), DDIS(5)

																	   DDIF(5)
All times are GMT -4. The time now is 08:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy