Sponsored Content
Top Forums Shell Programming and Scripting Script to rename the repeating strings Post 302978912 by ks_reddy on Friday 5th of August 2016 12:02:36 PM
Old 08-05-2016
Thank you so much Yoda.

Your script worked very well.
Thank you so much !!

Sidda
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Repeating commands in a script

I have written a script that I want to be repeated. The script that I wrote outputs the date, how many people are on the system, how many people logged in before me, and how many people logged in after me. Than what I want it to do is after it outputs the 4 lines I want it to go back to the... (4 Replies)
Discussion started by: Dave2874
4 Replies

2. UNIX for Advanced & Expert Users

unix script for repeating a command with a variable

Hi need urgent help , for creating unix script . To collect system name,This is command i want to execute n (integer) no. of times for for a differnt IP addresses .IP is variable in every execution. Other string & collecter name is constant . snmpGet %IP% sysName.0 -c <string> -S <datacollecter... (2 Replies)
Discussion started by: langdatyagi
2 Replies

3. Shell Programming and Scripting

repeating ftp script question

so i got this request to do this: - Script should check for the file ever 15 minutes on the FTP server…if the file is not found, then the whole script exits. File will only be created one a week at random. i have gotten this far, but am kind of stuck, also sleep command doesnt work... (3 Replies)
Discussion started by: zapatur23
3 Replies

4. Shell Programming and Scripting

Shell script to extract data in repeating tags from xml

Hi, I am new to shell scripting. I need to extract data between repeating tags from an xml file and store the data in an array to process it further. <ns1:root xmlns:ns1="http://example.com/config"> <ns1:interface>in1</ns1:interface> <ns1:operation attribute1="true" attribute2="abd"... (2 Replies)
Discussion started by: sailendra
2 Replies

5. UNIX for Dummies Questions & Answers

Need help with repeating variables in a shell script

I should preface this by saying I have never worked with shell scripts before so this is all new to me. I was able to make something that worked, but is terribly optimized, and I have no idea how to improve it. If anything it's a pretty hilarious script: #/bin/bash get_char() { ... (4 Replies)
Discussion started by: ricco19
4 Replies

6. UNIX for Dummies Questions & Answers

Adding variables to repeating strings

Hello, I want to add a letter to the end of a string if it repeats in a column. so if I have a file like this: DOG001 DOG0023 DOG004 DOG001 DOG0023 DOG001 the output should look like this: DOG001-a DOG0023-a DOG004 DOG001-b (15 Replies)
Discussion started by: verse123
15 Replies

7. Shell Programming and Scripting

Creating repeating record in between file through script

apprecieate your help to resove this. My source file looke like 1001 000 HEADER 1001 001 RAJESH 1001 002 100 1001 002 200 1001 002 500 1001 006 FOOTER 1002 000 HEADER 1002 001 RAMESH 1002 002 100 1002 002 200 1002 002 500 1002 006 FOOTER my... (8 Replies)
Discussion started by: Ganesh L
8 Replies

8. Shell Programming and Scripting

Deleting Repeating lines from a txt file via script

Hi, I'm having trouble in achieving the following scenario. There is a txt file with thousands of lines and few lines are repeated, which needs to be removed using a script. File.txt 20140522121432,0,12,ram Loc=India From=ram@xxx.com, To=ravi@yyy.com,, 1 2 3 4 . . 30... (18 Replies)
Discussion started by: Gautham
18 Replies

9. Shell Programming and Scripting

Rename first N numeric strings in filename

Hello, I have some video files containing numbers and characters . To tell the problem shortly, due to a limitation, I am unable create a playlist regularly changing on a daily basis with the command shuffle....So I decided to rename filenames, just a replacement of first five numbers randomly.... (10 Replies)
Discussion started by: baris35
10 Replies

10. Shell Programming and Scripting

--Parsing out strings for repeating delimiters for everyline

Hello: I have some text output, on SunOS 5.11 platform using KSH: I am trying to parse out each string within the () for each line. I tried, as example: perl -lanF"" -e 'print "$F $F $F $F $F $F"' But for some reason, the output gets all garbled after the the first fields.... (8 Replies)
Discussion started by: gilgamesh
8 Replies
CT(4)							 BSD/i386 Kernel Interfaces Manual						     CT(4)

NAME
ct -- WD33C93[ABC] based CBUS SCSI host adapter driver SYNOPSIS
device ct device scbus In /boot/device.hints: For most PC-9801-55, -92 and compatibles: hint.ct.0.at="isa" For ELECOM bus-master SCSI adapters: hint.ct.0.at="isa" hint.ct.0.flags="0x30000" For I-O DATA SC98 adapters: hint.ct.0.at="isa" hint.ct.0.flags="0x10000" For LOGITEC adapters: hint.ct.0.at="isa" hint.ct.0.flags="0x50000" For TEXA adapters: hint.ct.0.at="isa" hint.ct.0.flags="0x20000" For adapters with SMIT transfer mode to enable SMIT transfer: hint.ct.0.at="isa" hint.ct.0.flags="0x40000" hint.ct.0.maddr="0xdc000" Flags meaning: 0x00000 DMA transfer mode for an NEC PC-9801-55, -92 (or compatibles), ICM IF-2660, Midori-Denshi MDC-554NA, or Logitec LHA-N151 0x10000 DMA transfer mode for an I-O DATA SC-98II 0x20000 bus-master transfer mode for a TEXA HA-55BS2, its successors, or Midori-Denshi MDC-926R 0x30000 bus-master transfer mode for an ELECOM bus-master SCSI adapter 0x40000 SMIT transfer mode (for supported adapters only) 0x50000 bus-master transfer mode for a Logitec LHA-20x series, ICM IF-2766, IF-2766ET, IF-2767 or IF-2769 DESCRIPTION
The ct driver provides access to the SCSI bus connected to a WD33C93[ABC] based host adapter. HARDWARE
The ct driver supports the following adapters: o ELECOM bus-master SCSI adapters o I-O DATA SC-98II o ICM IF-2660, IF-2766, IF-2766ET, IF-2767 and IF-2769 o Logitec LHA-N151 and LHA-20x series o Midori-Denshi MDC-554NA and MDC-926R o NEC PC-9801-55, 92 and compatibles o SMIT transfer type SCSI host adapters o TEXA HA-55BS2 and its later models SEE ALSO
cd(4), ch(4), ctau(4), da(4), intro(4), sa(4), scsi(4) NOTES
Historically, the driver for the Cronyx Tau WAN adapters was ``ct''. This device name was changed to ``ctau'' to avoid conflicts with this pc98 ct driver. The network device name for ctau(4) is ``ct''. Please see ctau(4) for the details for that device. HISTORY
The ct device driver has been developed for NetBSD/pc98 and ported for FreeBSD. It first appeared in FreeBSD 4.4. AUTHORS
The ct driver was written by Naofumi HONDA. This manual page was written by Noriaki MITSUNAGA <non@FreeBSD.org> and Hideyuki KURASHINA <rushani@FreeBSD.org>. BSD
November 18, 2003 BSD
All times are GMT -4. The time now is 11:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy