first thanks for all your suggestions. This forum it is very useful.
I have a question. Is it possible to read from the last line a file was closed. For example, imagine that i've got a file with a LOT of timestamps :
and i need to read it in block of 70 lines each time, BUT since the file is updating quite fast i need to return to read it form the last (awk?) command without missing any line.
i don't know if i render the idea or if it's possible. Maybe i need a program instead.
Anyone know of a guide or instructions for Solaris
I got to configure a SBUS HBA to talk to a tape robot.
I have done this on a switch but not point to point.
just going HBA >>>>> TAPE Fibre simple two nodes
Kie (6 Replies)
Hi the following c-code utilizing the 'read()' man 2 read method cant read in files larger that 2gig.
Hi I've found a strange problem on ubuntu64bit, that limits the data you are allowed to allocate on a 64bit platform using the c function 'read()'
The following program wont allow to allocate... (14 Replies)
Hi Guys,
Happy New Year to you all!
I have a requirement to read an embedded new-line using KSH's read builtin.
Here is what I am trying to do:
run_sql "select guestid, address, email from guest" | while read id addr email
do
## Biz logic goes here
done
I can take care of any... (6 Replies)
Hello All,
i am a newbie and need some help when reading a csv file in a bourne shell script. I want to read 10 lines, then wait for a minute and then do a reading of another 10 lines and so on in the same way. I want to do this till the end of file.
Any inputs are appreciated
... (3 Replies)
Hi
I am new to writing script and want to use a Bash Piped while-read and read from user input.
if something happens on server.log then do while loop or if something happend on user input then do while loop.
Pseudocode something like:
tail -n 3 -f server.log | while read serverline || read... (8 Replies)
hi,
I would like to ask or is it possible to dump a hex using dd from starting point to end point just like the "xxd -s 512 -l 512 <bin file>"
I know the redirect hexdump -C but i can't figure it out the combination options of dd.
Hope someone can share their knowledge..
Thanks in... (3 Replies)
For my backup , I mount and external hard disk to /mnt/mybackup and then I do an rsync to /mnt/mybackup
If for some reason the rsync fails, I want to prevent it from writing data on the server hard disk itself since the external hard disk will no longer be mounted on it.
I want /mnt/mybackup... (8 Replies)
Hi.
How can I create a history function? (By "read" command or so)
&
How can I configure a read command so that the arrow keys are not displayed so funny? (^[[A)
Thanks in advance. (4 Replies)
Hi again,
first thanks for all your suggestions. This forum it is very useful.
I have a question. Is it possible to read from the last line a file was closed. For example, imagine that i've got a file with a LOT of timestamps :
1467387616.868717770
1467387616.874189609... (4 Replies)
How to create a new mount point with 600GB and add 350 GBexisting mount point
Best if there step that i can follow or execute before i mount or add diskspace IN AIX
Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies
LEARN ABOUT DEBIAN
exp2read
scf2read(3) Staden Package scf2read(3)NAME
scf2read, read2scf, exp2read, read2exp - Translate to and from the Read structure.
SYNOPSIS
#include <Read.h>
Read *scf2read(
Scf *scf);
Scf *read2scf(
Read *read);
Exp_info *read2exp(
Read *read,
char *EN);
Read *exp2read(
Exp_info *e);
DESCRIPTION
These functions are used internally by the io library for converting between the in memory representations of the supported file formats.
The Read structure is the central format so only conversion to and from this structure is available. Conversions consist of to and from the
SCF format and to and from the Experiment File format.
scf2read() converts an Scf structure into a Read structure. The Read structure is allocated by the function. The Scf structure is left
unchanged.
read2scf() converts a Read structure into an Scf structure. The Scf structure is allocated by the function. The Read structure is left
unchanged.
exp2read() converts an Exp_info structure into a Read structure. The entryname to use in the EN line type of the Experiment File must be
specified. The Read structure is allocated by the function. The Exp_info structure is left unchanged.
read2exp() converts a Read structure into an Exp_info structure. The Exp_info structure is allocated by the function. The Read structure is
left unchanged.
RETURN VALUES
On successful completion, the scf2read() and exp2read functions return a pointer to an allocated Read structure. Otherwise these functions
return NULLRead.
On successful completion, the read2scf function returns a pointer to an allocated Scf structure. Otherwise this function returns a null
pointer.
On successful completion, the read2exp function returns a pointer to an allocated Exp_info structure. Otherwise this function returns a
null pointer.
SEE ALSO read_reading(3), fread_reading(3), write_reading(3), fwrite_reading(3), scf(4), ExperimentFile(4)scf2read(3)