Hello..
Iam in need to urgent help with the below.
Have data-file with 40,567
and need to split them into multiple files with smaller line-count.
Iam aware of "split" command with -l option which allows you to specify the no of lines in smaller files ,with the target file-name pattern... (1 Reply)
Hi gurus,
I have a problem with ftp access. The first 2 test e.g. Test A & Test B was successful with the file size 64kb (800++ numbers). The third test with file size 120kb was failed. The error is "Netout :Connection reset by peer". No password entered manually since the test run from the... (3 Replies)
Hello,
Can anybody please tell me the command to find out the filesystem or a file which is consuming larger disk space sing i want to find out the file and want to compress it
please help me out
any help would be appreciated (6 Replies)
Hi,
I have an application's log file:
/var/log/logfile which is feeded from time to time due to an application. This file contains data, what I want is:
-Whenever some new data is copied to /var/log/logfileI want to generate an email to root BUT only with the new added data in the body.... (6 Replies)
I have a record.txt it will update weekly, and it could be 2 lines or more ...
it just echo each line to the script
san jose,23.34%
tampa,2.15%
dallas,30.20%
seattle,44.29%
Unknown,16.72%
How do i write a shell script to give me a test.pl or bash file which contain
#!/home/perl... (8 Replies)
I have two files which has one column comman in them.
The two files has exact same number of rows in the same sequence.
I want to add the second column of Users_detail_servicesonly.txt as last column in the existing file.
1) Users_detail_complete.txt
V0135 Memb Info ... (4 Replies)
Dear All,
I have a template xml file like below.
....Some---Header.......
<SignalPreference>
...
<SignalName>STRING</SignalName>
...
</SignalPreference>
......Some formatting text.......
<SignalPreference>
.........
... (3 Replies)
Hi,
I am fairly new to Unix scripting. We are running Solaris 5.10.
I have the following question: Assume a text file with one text
column, followed by 2 integer columns.
How would I generate a script or, preferably, a command that will output
the rows in which the value of the third... (6 Replies)
al_findfirst(3alleg4) Allegro manual al_findfirst(3alleg4)NAME
al_findfirst - Low-level function for searching files. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int al_findfirst(const char *pattern, struct al_ffblk *info, int attrib);
DESCRIPTION
Low-level function for searching files. This function finds the first file which matches the given wildcard specification and file
attributes (see above). The information about the file (if any) will be put in the al_ffblk structure which you have to provide. The
al_ffblk structure looks like:
struct al_ffblk
{
int attrib; - actual attributes of the file found
time_t time; - modification time of file
char name[512]; - name of file
};
There is some other stuff in the structure as well, but it is there for internal use only. Example:
struct al_ffblk info;
if (al_findfirst("*.pcx", &info, FA_ALL) != 0) {
/* Tell user there are no PCX files. */
return;
}
RETURN VALUE
The function returns non-zero if no match is found or if an error occurred and, in the latter case, sets `errno' accordingly. It returns
zero if a match is found, allocating some memory for internal use in the structure. Therefore you have to close your search when you are
finished to avoid memory leaks in your program.
SEE ALSO al_findnext(3alleg4), al_findclose(3alleg4), al_ffblk_get_size(3alleg4)Allegro version 4.4.2 al_findfirst(3alleg4)