Sponsored Content
Top Forums Shell Programming and Scripting content need changes- many files Post 302091783 by swchee on Thursday 5th of October 2006 06:33:36 AM
Old 10-05-2006
content need changes- many files

Hi, all

Need some advise on this script

i have some files in a directory, and i need to change the word XX in each files to YY, how can i perform a bulk changes/

thanks in advance for yr sharing
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Compare the content of 2 files

Hi Guys, What is the most effecient way to compare the content of 2 seperate files and extract the result of there is a match? We have 2 separate log files and we are trying to find the common errors from the 2 files. Thanks, Odogbolu98 :( (3 Replies)
Discussion started by: odogbolu98
3 Replies

2. UNIX for Dummies Questions & Answers

searching for content of files

Hi, This question may be quite newbish. I've stored a few files on my Unix system and am wondering how to search for their contents (i.e. I input the keyword and get a list of files with this keyword) I'd then like to put it on my website (php). I thought of find and grep, but am not... (19 Replies)
Discussion started by: Aretai
19 Replies

3. Shell Programming and Scripting

comparing files content

hi i have a set of files , i need to compare one file content with other file content, i am using cmp -s abc.1 def.2 , but it is not giving theproper o/p even if the content is different.Please help thanks Satya (1 Reply)
Discussion started by: Satyak
1 Replies

4. Shell Programming and Scripting

Help with Combining Content of Two files

I'm trying to combine it using awk but still can't figure it out. Here is the file. cat file1.txt Mr Smith Mr John Ms Linda cat file2.txt No 4 Jln Empat Kuala Lumpur No 213 Tmn Bunga Kedah No 1 Kampung Bukit Malaysia I want to combine this file1 and file2 so the output... (5 Replies)
Discussion started by: pisang
5 Replies

5. Shell Programming and Scripting

how to find a content in all files

Hi, i would like to find 'AppManage' in all files. i have tried the following but it didn't work. /local/home/mani>grep -iR 'AppManage' *.* - not outcome /local/home/mani>grep -iR 'AppManage' - this one hangs thanks (3 Replies)
Discussion started by: lookinginfo
3 Replies

6. Shell Programming and Scripting

Files appear to have no content

I have about 11000 files on a hard disk that were generated by copying a directory structure from a dvd. The files are supposed to contain ascii data. I am unable to read or inspect the contents of several of the files, I receive the error no such file or directory. I am using cygwin on... (4 Replies)
Discussion started by: jvorwald
4 Replies

7. Shell Programming and Scripting

search for content in files. Name of files is in another file. Format as report.

Hi I have multiple files in a folder and one file which contains a list of files (one on each line). I was to search for a string only within these files and not the whole folder. I need the output to be in the form File1<tab>string instance 2<tab> string instance 2<tab>string instance 3... (6 Replies)
Discussion started by: pkabali
6 Replies

8. Shell Programming and Scripting

Compare content between two files

I have two files in unix environment with similer type of contain: Example: File1 File2 Milestone1 Milestone1 Milestone2 Milestone12 Milestone3 Milestone13... (11 Replies)
Discussion started by: Mrinal Mondal
11 Replies

9. UNIX for Beginners Questions & Answers

Swapping content b/n two files

I am having two files file1&file2.i just want to swap the selected contents btwn two files #file1 content: Title:xxxx Hello Imran #file2 content: Title:YYYY Hello Meeran i just want only second line in both files should be swapped.The title should remain in the same file. i just... (5 Replies)
Discussion started by: Meeran Rizvi
5 Replies

10. UNIX for Beginners Questions & Answers

Comparing two files and list the difference with common first line content of both files

I have two file as given below which shows the ACL permissions of each file. I need to compare the source file with target file and list down the difference as specified below in required output. Can someone help me on this ? Source File ************* # file: /local/test_1 # owner: own #... (4 Replies)
Discussion started by: sarathy_a35
4 Replies
UBTBCMFW(4)						   BSD Kernel Interfaces Manual 					       UBTBCMFW(4)

NAME
ubtbcmfw -- Firmware driver for Broadcom BCM2033 chip based Bluetooth USB devices SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device ubtbcmfw Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): ubtbcmfw_load="YES" DESCRIPTION
The ubtbcmfw is a firmware driver for Broadcom BCM2033 chip based Bluetooth USB devices. It provides minimal access to the parts of the device required to download firmware. The ubtbcmfw driver creates three fixed endpoint device nodes. The control transfers can only happen on the control endpoint which is always endpoint 0. Control requests are issued by ioctl(2) calls. Only incoming transfers are supported on an interrupt endpoint. To perform I/O on an interrupt endpoint, read(2) should be used. All I/O operations on an interrupt endpoint are unbuffered. Interrupt endpoint is always endpoint 1. Only outgoing bulk transfers are supported on a bulk endpoint. To perform I/O on a bulk endpoint, write(2) should be used. All I/O opera- tions on a bulk endpoint are unbuffered. Outgoing bulk endpoint is always endpoint 2. The control endpoint (endpoint 0) handles the following ioctl(2) calls: USB_GET_DEVICE_DESC (usb_device_descriptor_t) Return the device descriptor. FILES
/dev/ubtbcmfwN.EE Endpoint EE of device N. SEE ALSO
ng_ubt(4), ugen(4), usb(4), bcmfw(8) HISTORY
The ubtbcmfw driver was implemented in FreeBSD 5.0. AUTHORS
Maksim Yevmenkin <m_evmenkin@yahoo.com> BUGS
Most likely. Please report if found. BSD
November 22, 2006 BSD
All times are GMT -4. The time now is 09:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy