Where should I send this sort of thing?
Typo in this file... Index: sys/dev/dpt/dpt_scsi.c === RCS file: /home/ncvs/src/sys/dev/dpt/dpt_scsi.c,v retrieving revision 1.34 diff -u -r1.34 dpt_scsi.c --- sys/dev/dpt/dpt_scsi.c 2002/11/06 21:19:17 1.34 +++ sys/dev/dpt/dpt_scsi.c 2003/01/16 17:56:22 @@ -1561,7 +1561,7 @@ /* Ignore status packets with EOC not set */ if (dpt-sp-EOC == 0) { - printf(dpt%d ERROR: Request %d recieved with + printf(dpt%d ERROR: Request %d received with clear EOC.\n Marking as LOST.\n, dpt-unit, dccb-transaction_id); To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: is there a replace command ?
sed -e 's/touch/rm/' FILENAME OUTPUT_FILE or something like, perl -pi -e 's/touch/rm/;' FILENAME man 1 sed for a lot more detail - Original Message - From: Malik Blent [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 02, 2002 7:18 AM Subject: is there a replace command ? On Freebsd4.x I have a file. I want to change some expressions with new ones For example a file touch /var/qmail/1 touch /var/qmail/2 touch /var/qmail/3 touch /var/qmail/4 touch /var/qmail/5 touch /var/qmail/6 I want to change touch with rm How can i replace a newones in stead of a lot of expressions in a file on FreeBSD ? Which command(s) do i have to use ? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: File Counts
$ find . -type file | wc -l - Original Message - From: Kliment Andreev [EMAIL PROTECTED] To: Doug Hardie [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, December 02, 2002 2:42 PM Subject: Re: File Counts How do I get a count of the files in directories? I need to be able to get a listing of the number of files in a directory and counts for the files in each sub-directory. % ls -l | wc -l(In a directory) % ls -lR | wc -l (Including sub-directories) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message