10-17-2001
ok, that makes sense. Annoying, but its makes sense
Could you recommend a stream editor that doesn't do this?
I've got a client localising deployment property files with sed.
This led to an issue where the last line was being stripped and the system started throwing a fit.
Thanks for your help
Paul.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello all,
how to run windows .exe file in Linux
and vice the versa (3 Replies)
Discussion started by: rajashekaran
3 Replies
2. UNIX for Dummies Questions & Answers
I've been playing around with sed for a few days now and find that regular expressions never work inside sed s/// on Mac OS 10.2.5. Has anyone else bumped up against this problem?
For example, the "sed" segment of the following always fails no matter how items are escaped:
cd... (12 Replies)
Discussion started by: ktoz
12 Replies
3. Programming
At time of installation I have to open the resource. and i have to insert a string serial number in the exe.
please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
4. SuSE
does exe files works withe suse
am new n linux system
and were can i find msn 4 linux (2 Replies)
Discussion started by: abdulla
2 Replies
5. Linux
Hai,
is there any way to run an .exe file in unix environment . i have read that WINE HQ supports this concept but its very inconsistent and upto the user risk . but i tried WINE but iam not able to configure it can any one help me in this matter
Regards
Sanju (1 Reply)
Discussion started by: sanjustudy
1 Replies
6. UNIX for Dummies Questions & Answers
how to open .exe file in freebsd system.My work is to run a growth.exe(created by growth.c turbo c 3.0 file).how to run that exe file in freebsd system?Thanks in advance help me (8 Replies)
Discussion started by: kumarangopi
8 Replies
7. Programming
Is it possible to extract c program,from its executable file(.exe)?
i mean we dont have program but its exe file only which runs,can we retrieve the program?
if yes how?
if no why? (2 Replies)
Discussion started by: unknown9
2 Replies
8. Programming
All,
I have never comipled C code before and would appricaite if anyone could tell me how to build a .exe from a C program.
Thanks in advance. (5 Replies)
Discussion started by: thana
5 Replies
9. Programming
hello everyone,
could somebody tell me where can i find some good exercises on signals,processes and threads? actually i need to find some solved exercises in system programming.
tnx (4 Replies)
Discussion started by: micy
4 Replies
LEARN ABOUT MINIX
scsi_arq_status
scsi_arq_status(9S) Data Structures for Drivers scsi_arq_status(9S)
NAME
scsi_arq_status - SCSI auto request sense structure
SYNOPSIS
#include <sys/scsi/scsi.h>
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI)
DESCRIPTION
When auto request sense has been enabled using scsi_ifsetcap(9F) and the "auto-rqsense" capability, the target driver must allocate a sta-
tus area in the SCSI packet structure for the auto request sense structure (see scsi_pkt(9S)). In the event of a check condition, the
transport layer automatically executes a request sense command. This check ensures that the request sense information does not get lost.
The auto request sense structure supplies the SCSI status of the original command, the transport information pertaining to the request
sense command, and the request sense data.
STRUCTURE MEMBERS
struct scsi_status sts_status; /* SCSI status */
struct scsi_status sts_rqpkt_status; /* SCSI status of
request sense cmd */
uchar_t sts_rqpkt_reason; /* reason completion */
uchar_t sts_rqpkt_resid; /* residue */
uint_t sts_rqpkt_state; /* state of command */
uint_t sts_rqpkt_statistics; /* statistics */
struct scsi_extended_sense sts_sensedata; /* actual sense data */
sts_status is the SCSI status of the original command. If the status indicates a check condition, the transport layer might have performed
an auto request sense command.
sts_rqpkt_status is the SCSI status of the request sense command. sts_rqpkt_reason is the completion reason of the request sense command.
If the reason is not CMD_CMPLT, then the request sense command did not complete normally.
sts_rqpkt_resid is the residual count of the data transfer and indicates the number of data bytes that have not been transferred. The auto
request sense command requests SENSE_LENGTH bytes.
sts_rqpkt_state has bit positions representing the five most important statuses that a SCSI command can go obtain.
sts_rqpkt_statistics maintains transport-related statistics of the request sense command.
sts_sensedata contains the actual sense data if the request sense command completed normally.
SEE ALSO
scsi_ifgetcap(9F), scsi_init_pkt(9F), scsi_extended_sense(9S), scsi_pkt(9S)
Writing Device Drivers
SunOS 5.10 30 Sep 1996 scsi_arq_status(9S)