Sponsored Content
Full Discussion: Text or .dat
Top Forums UNIX for Dummies Questions & Answers Text or .dat Post 302243040 by Maggiepie on Friday 3rd of October 2008 02:19:19 PM
Old 10-03-2008
Text file example

Please find attached two files that need to be opened via wordpad. The first is an original without the date and the second one has the date embedded at the end. How can I use awk to create a date to each line item in the text file.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Acess DAT with SCO 3.2

Hi, I've just get a SCO UNIX computer that includes DAT reader. This computer also run a professionnal software i do not know. It runs Kornshell too. I tried so use ls /dev/rmt, but I always have the same files... so, I think /dev/rmt is not the right file. My question is : how can I get... (1 Reply)
Discussion started by: chodaboy
1 Replies

2. UNIX for Advanced & Expert Users

How to convert Dat to Bin

Hi all, I want to convert Dat file into binary file. So we have any command in HP Unix. (3 Replies)
Discussion started by: ravi.sadani19
3 Replies

3. UNIX for Dummies Questions & Answers

Backup my files to DAT

hi guys, im using tru64 unix and i want to put my files on tapes. i have already a hp DAT storage, do you have any admin guides for backup/restore procedures for these? tnx (1 Reply)
Discussion started by: jefferson
1 Replies

4. Shell Programming and Scripting

Performance issue in UNIX while generating .dat file from large text file

Hello Gurus, We are facing some performance issue in UNIX. If someone had faced such kind of issue in past please provide your suggestions on this . Problem Definition: /Few of load processes of our Finance Application are facing issue in UNIX when they uses a shell script having below... (19 Replies)
Discussion started by: KRAMA
19 Replies

5. AIX

Help DAT 72 tape stuck.

Hi everyone, I have a ibm p65 server with an internal DAT 72 tape drive. When I go to press the eject button the second light will blink for several minutes then stop. If I issue a tctl -f /dev/rmt0 status it tells me its available and gives back other information. Now if I try this tctl -f... (2 Replies)
Discussion started by: bsdtux
2 Replies

6. Red Hat

How to view .dat file?

What is the command that can be used to open or view the .dat file in linux? Unable to read the contents of .dat file. (7 Replies)
Discussion started by: Rupaa
7 Replies

7. UNIX for Advanced & Expert Users

Search in .dat file

How to perform search for a particular text in .dat file in UNIX (2 Replies)
Discussion started by: Deeptanshu
2 Replies

8. Shell Programming and Scripting

How to use 'ls' command to list files like *.dat, not *.*.dat?

How to use 'ls' command to list files like *.dat, not *.*.dat (5 Replies)
Discussion started by: pmcginni777
5 Replies
load_datafile(3alleg4)						  Allegro manual					    load_datafile(3alleg4)

NAME
load_datafile - Loads a datafile into memory. Allegro game programming library. SYNOPSIS
#include <allegro.h> DATAFILE *load_datafile(const char *filename); DESCRIPTION
Loads a datafile into memory in one go. If the datafile has been encrypted, you must first call packfile_password() to set the appropriate key. If the datafile contains truecolor graphics, you must set the video mode or call set_color_conversion() before loading it. Example: /* Load the resources for our game. */ DATAFILE *dat = load_datafile("game.dat"); if (!dat) abort_on_error("Couldn't load sound resources!"); /* Use resources. */ ... /* Destroy them when we don't need them any more. */ unload_datafile(dat); RETURN VALUE
Returns a pointer to the DATAFILE, or NULL on error. Remember to free this DATAFILE later to avoid memory leaks. SEE ALSO
load_datafile_callback(3alleg4), unload_datafile(3alleg4), load_datafile_object(3alleg4), set_color_conversion(3alleg4), fixup_datafile(3alleg4), packfile_password(3alleg4), find_datafile_object(3alleg4), register_datafile_object(3alleg4), excustom(3alleg4), exdata(3alleg4), exexedat(3alleg4), exgui(3alleg4), exsprite(3alleg4), exunicod(3alleg4) Allegro version 4.4.2 load_datafile(3alleg4)
All times are GMT -4. The time now is 09:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy