Hi,
I am new to UNIX scripting and woiuld appreicate your help...
Input file contains only one (but long) record:
aaaaabbbbbcccccddddd.....
Desired file:
NEW RECORD #new record (hardcoded) added as first record - its length is irrelevant#
aaaaa
bbbbb
ccccc
ddddd
...
...
... (1 Reply)
I need to write a script that can find a bad record (for example: there is date field colom but value provided in the file for this field is N/A) then script shoud searches this pattern and then insert the whole record into the bad file.
Example:
File1
Name designation dateOfJoining... (1 Reply)
I need to write a script that can find a bad record (for example: there is date field colom but value provided in the file for this field is N/A) then script shoud searches this pattern and then insert the whole record into the bad file.
Example:
File1
Name designation dateOfJoining... (2 Replies)
Hi guys,
i have a big file with the following format.This includes header(H),detail(D) and trailer(T) information in the file.My problem is i have to search for the character "6h" at 14 th and 15 th position in all the records .if it is there i have to write all those records into a... (1 Reply)
Hi there,
I have trouble selecting record that contain one biggest value for a group of other values. I mean, this is my table:
mysql> SELECT * FROM b;
+----+------+-------+
| id | user | value |
+----+------+-------+
| 1 | 1 | 100 |
| 3 | 1 | 150 |
| 5 | 1 | 300 |
| 6... (20 Replies)
Hi Friends,
This is the only solution to my task. So, any help is highly appreciated.
I have a file
cat input1.bed
chr1 100 200 abc
chr1 120 300 def
chr1 145 226 ghi
chr2 567 600 unix
Now, I have another file by name
input2.bed (This file is a binary file not readable by the... (7 Replies)
Hello,
I am working on an application that uses allot of memory depending on the input. I am also working on more than one processing algorithm.
The program has a long processing time (hours) so it would be nice to be able to monitor the maximum memory footprint of the application during runs... (1 Reply)
Discussion started by: LMHmedchem
1 Replies
LEARN ABOUT DEBIAN
ns_requestauthorize
ns_requestauthorize(3aolserver) AOLserver Built-In Commands ns_requestauthorize(3aolserver)__________________________________________________________________________________________________________________________________________________NAME
ns_requestauthorize - commands
SYNOPSIS
ns_requestauthorize option ?arg arg ...?
_________________________________________________________________DESCRIPTION
ns_requestauthorize method URL authuser authpassword ?ipaddr?
Ask the server to check permissions using nsperm. This function does the same permission check that the AOLserver does before serving a
URL. If the nsperm module is loaded, the algorithm is as follows.
1. If the authuser is "nsadmin", the password is correct, and the IP address of the client is allowed nsadmin access, then access is autho-
rized.
2. Find the relevant permission record. If an exact match for the method and URL combination is not found, the end of the URL is pared down
until a match is found. For example, if there is no match for `/products/cereals/raisin_bran.html,' then the server looks for a permis-
sion record for the URL `/products/cereals.' If that permission record is specified as "Exact URL match is NOT required", then that per-
mission record is used.
By default, the server comes with a row that says GET on `/' is open to the world. If no relevant permission record is found, access is
denied (forbidden).
1. If the authuser is in the "Allow Users" list, access is permitted. If the authuser is a member of a group in the "Allow Groups" list and
not in the "Deny Users" list, access is permitted.
2. If the host is in the "Hosts to allow" list, access is permitted. If the host is in the "Hosts to deny" list, access is denied.
3. If the request does not come in with authorization data, access is denied.
4. The user and password are verified. If there is no password specified in the database, any password is accepted.
5. Otherwise, access is denied.
Return Values:
The following values can be returned by ns_requestauthorize.
OK The user has permission to execute this URL and method.
DENIED The user does not have permission to execute this URL and method.
FORBIDDEN There is no possible user/password/IP Address combination that would give authorization.
ERROR There was an error.
SEE ALSO
ns_passwordcheck, ns_crypt
KEYWORDS AOLserver 4.0 ns_requestauthorize(3aolserver)