Hi, Can you help please.
I have the following comand:
if ]; then
l_valid_string="Y"
fi
The problem I am trying to solve is that my l_string = ABC and my file contains
ABC
ABC_EFG
I only want back the value ABC exact match. (3 Replies)
Hi
I am trying to fetch the rows with match string "0000001234"
Input file looks like below:
09 0 XXX 0000001234 Z 1
09 0 XXX 0000001234 Z 1
09 0 XXX 0000001234 Z 1
09 0 XXX 0000001234 Z 1
09 0 XXX 0000001234 Z 1... (6 Replies)
Hi,
I have the ff. list of files in the dir named /home/joule/unix/archive:
$ /home/joule/unix/archive
joule1.gz
joule2.gz
joule3.gz
joule4.gz
joule5.gz
joule6.gz
joule7.gz
joule8.gz
What I would like to do is to find this string in a group of files in the directory above:
String to... (1 Reply)
I am trying to sort the following files from folder Bag to Apple, Cat Food, Dog Food. I can get all of the files I want into a new folder, but not sure of the best approch to get them to their final directory
My Files
==========
apple.1234.ext
apple.1235.ext
cat food 101.ext
Cat Food... (2 Replies)
hi i want to know how to do this
if the given is /tmp/ and it is a valid directory then it will echo directory
if the given is /tmp/file.txt and is a valid file then it will echo file..
thanks! (5 Replies)
The below bash connects to a site, downloads a file, searches that file based of user input - could be multiple (all that seems to work). What I am not able to figure out is how to display on the screen match found or no match found" and write a file to a directory (C:\Users\cmccabe\Desktop\wget)... (4 Replies)
I have a specific set (all ending with .bam) of downloaded files in a directory /home/cmccabe/Desktop/NGS/API/2-15-2016. What I am trying to do is use a match to $2 in name to rename the downloaded files. To make things a more involved the date of the folder is unique and in the header of name... (1 Reply)
I am trying to mv each of the .vcf files in the variants folder to the folder in /home/cmccabe/f2 that the .vcf id is found in file. $2 in file will always have the id of a .vcf in the variants folder. The line in blue staring with R_2019 in file up to the -v5.6 will always be an exact match to a... (4 Replies)
Discussion started by: cmccabe
4 Replies
LEARN ABOUT LINUX
dat.conf
DAT.CONF(5)DAT.CONF(5)NAME
dat.conf - configuration file for static registration of user-level DAT rdma providers
DESCRIPTION
The DAT (direct access transport) architecture supports the use of multiple DAT providers within a single consumer application. Consumers
implicitly select a provider using the Interface Adapter name parameter passed to dat_ia_open().
The subsystem that maps Interface Adapter names to provider implementations is known as the DAT registry. When a consumer calls
dat_ia_open(), the appropriate provider is found and notified of the consumer's request to access the IA. After this point, all DAT API
calls acting on DAT objects are automatically directed to the appropriate provider entry points.
A persistent, administratively configurable database is used to store mappings from IA names to provider information. This provider infor-
mation includes: the file system path to the provider library object, version information, and thread safety information. The location and
format of the registry is platform dependent. This database is known as the Static Registry (SR) and is provided via entries in the
dat.conf file. The process of adding a provider entry is termed Static Registration.
Registry File Format
* All characters after # on a line are ignored (comments).
* Lines on which there are no characters other than whitespace
and comments are considered blank lines and are ignored.
* Non-blank lines must have seven whitespace separated fields.
These fields may contain whitespace if the field is quoted
with double quotes. Within fields quoated with double quotes,
the backslash or qoute are valid escape sequences:
* Each non-blank line will contain the following fields:
- The IA Name.
- The API version of the library:
[k|u]major.minor where "major" and "minor" are both integers
in decimal format. User-level examples: "u1.2", and "u2.0".
- Whether the library is thread-safe: [threadsafe|nonthreadsafe]
- Whether this is the default section: [default|nondefault]
- The library image, version included, to be loaded.
- The vendor id and version of DAPL provider: id.major.minor
- ia params, IA specific parameters - device name and port
- platform params, (not used)
Example netdev entries for OpenFabrics rdma_cm providers, both v1.2 and v2.0
OpenIB-cma u1.2 nonthreadsafe default libdaplcma.so.1 dapl.1.2 "ib0 0" ""
ofa-v2-ib0 u2.0 nonthreadsafe default libdaplofa.so.2 dapl.2.0 "ib0 0" ""
NOTE: The OpenFabrics providers use <ia_params> to specify the device with one of the following:
network address, network hostname, or netdev name; along with port number.
The OpenIB- and ofa-v2- IA names are unique mappings. Reserved for OpenFabrics providers.
The default location for this configuration file is /etc/dat.conf. The file location may be overridden with the environment variable
DAT_OVERRIDE=/your_own_directory/your_dat.conf.
SEE ALSO
25 March 2008 DAT.CONF(5)