Sponsored Content
Full Discussion: Batch file update
Top Forums UNIX for Dummies Questions & Answers Batch file update Post 7953 by devnul on Thursday 4th of October 2001 12:19:09 AM
Old 10-04-2001
Assuming that your data file is called "bigdata.dat", here's a really sloppy way to do it, but it is easy-to-follow:


cat bigdata.dat |\
while read FILE ; do
script.ksh $FILE
done
 

9 More Discussions You Might Find Interesting

1. IP Networking

batch file

my requirment is i have to call a batch file from a c++ program that batch file is called with the argument as print.txt print.txt is a text file which should get printed on printer (any printer) when a batch file call is made 1) how to call a batch file in c++ 2) how to print the text... (1 Reply)
Discussion started by: ramneek
1 Replies

2. Programming

batch file

what is a command to call a batch file from a c++ program when called with the argument which is a text file, then how to print that text file on a printer. please help me with code if possible (3 Replies)
Discussion started by: ramneek
3 Replies

3. UNIX for Dummies Questions & Answers

Telnet in batch file

hi how can i connect to a telnet session using the unix script... need to create a batch file which has to run daily. first it has to telnet to a IP then execute certain commands and log the session. thanks Aemu (1 Reply)
Discussion started by: aemunathan
1 Replies

4. UNIX for Advanced & Expert Users

Batch file question

EDIT: Is this wrong thread? Hi I am on an Apple Mac and I am trying to run this batch file on my Mac and was wondering if anyone could tell me what a script that will make this run and work on my Mac. I was hoping that you could tell me the script in the shell format? So here's the batch... (4 Replies)
Discussion started by: Billy5555100
4 Replies

5. Windows & DOS: Issues & Discussions

Creating a batch file..

Hello, this is my first post and i hope you can solve my problem. I need to create a batch file that will copy folder from hard drive on to usb stick on daily basis. Can you help me and write that file and explaine me what to do next. Folder's location is: c\windows\desktop\2009 Thank... (5 Replies)
Discussion started by: hule
5 Replies

6. Shell Programming and Scripting

Batch file to remove double quotes from a file

Hi I have to create a windows batch file which will read an input file and remove "double quotes" from each line of the file. For eg.If input file name is abcd.csv and contents is : "asasd,123123,213213,asd" "esfrf,dsfsdf,234324,sdfsdf" Then the batch file should remove "" from the... (11 Replies)
Discussion started by: akashtcs
11 Replies

7. UNIX for Advanced & Expert Users

batch file

Hi all I am using tru64 Unix and I want a ready batch file which makes me to change all user passwords at the same time ,instead of changing everyone separately. Please could anyone help me to do that. bye. (1 Reply)
Discussion started by: ahmedbashir
1 Replies

8. Shell Programming and Scripting

Executing a batch of files within a shell script with option to refire the individual files in batch

Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below. I am on a solaris server btw. Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose. ... (2 Replies)
Discussion started by: goddevil
2 Replies

9. Shell Programming and Scripting

Renaming file in batch

Hi guys, I need a script to change the file names e.g.:- below are the mentioned files, i want t0 change the last character of the name 00000.cdr with e.g bep01.smsc.191214210500-00000.cdr to bep01.smsc.191214210500-92311.cdr next file be like bep01.smsc.191214210500-92312.cdr # ls -ltr... (9 Replies)
Discussion started by: mfaizan40
9 Replies
dat.conf(4)							   File Formats 						       dat.conf(4)

NAME
dat.conf - DAT static registry SYNOPSIS
/etc/dat/dat.conf DESCRIPTION
The DAT static registry, /etc/dat/dat.conf is a system-wide data resource maintained by the system administrative command datadm(1M). /etc/dat/dat.conf contains a list of interface adapters supported by uDAPL service providers. An interface adapter on Infiniband (IB) cor- responds to an IPoIB device instance, for example, ibd0. An IPoIB device name represents an IP interface plumbed by ifconfig(1M) on an IB partition/Host Channel Adapter port combination. Each entry in the DAT static registry is a single line that contains eight fields. Fields are separated by a SPACE. Lines that begin with a pound sign (#) are considered comments. All characters that follow the # are ignored. Enclose Solaris specific strings (Solaris_spe- cific_string) and service provider's instance data (service _provider_instance_data) in quotes. The following shows the order of the fields in a dat.conf entry: "interface_adapter_name" "API_version" "threadsafe | nonthreadsafe" "default | nondefault" "service_provider_library_pathname" "service_provider_version" "service _provider_instance_data" "Solaris_specific_string" The fields are defined as follows: interface_adapter_name Specifies the Interface Adapter (IA) name. In IB, this is the IPoIB device instance name, for example, ibd0. This represents an IP interface plumbed on an IB partition/port combination of the HCA. API_version Specifies the API version of the service provide library: For example, "u"major.minor is u1.2. threadsafe | nonthreadsafe Specifies a threadsafe or non-threadsafe library. default | nondefault Specifies a default or non-default version of library. A service provider can offer several versions of the library. If so, one version is designated as default with the rest as nondefault. service_provider_library_pathname Specifies the pathname of the library image. service_provider_version Specifies the version of the service provider. By convention, specify the company stock symbol as the service provider, followed by major and minor version numbers, for example, SUNW1.0. service _provider_instance_data Specifies the service provider instance data. Solaris_specific_string Specifies a platform specific string, for example, the device name in the service_provider.conf file. EXAMPLES
Example 1 Sample dat.conf File The following dat.conf file shows a uDAPL 1.2 service provider for tavor, udapl_tavor.so.1 supporting two interfaces, ibd0 and ibd1: # # dat.conf for uDAPL 1.2 # ibd0 u1.2 nonthreadsafe default udapl_tavor.so.1 SUNW.1.0 "" "driver_name=tavor" ibd1 u1.2 nonthreadsafe default udapl_tavor.so.1 SUNW.1.0 "" "driver_name=tavor" ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWudaplr | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
datadm(1M), ifconfig(1M), libdat(3LIB), service_provider.conf(4), attributes(5) NOTES
An empty dat.conf is created during the package SUNWudaplr installation if no file is present beforehand. Entries in the file are added or removed by running datadm(1M). The content of the platform specific string does not constitute an API. It is generated by datadm(1M) and might have a different content or interpretation in a future release. SunOS 5.11 18 Jun 2004 dat.conf(4)
All times are GMT -4. The time now is 04:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy