05-22-2006
no, if we consider the example ... i want to create five different files with the content of each coming from the text betweeen two consecutive 'ABC's
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear friends,
please help me to solve following problem.
I'm running a frontend application from which i'll be invoking the shell script with arguments as given below
-driver -w -p "ABC XYZ" -S -ds con -dn "abc xyz"
i am getting
$1=-driver
$2=-w
$3=-p
$4="ABC
$5=XYZ"
$6=-S
$7=-ds... (3 Replies)
Discussion started by: swamymns
3 Replies
2. Shell Programming and Scripting
Dear All,
I have an input file like this
interface Serial10/0/7:11.1 point-to-point
description CLIENT:SA_INSTITUTO ANGLO MEXICANO Sitio Metepec 104452:0,165
bandwidth 64
ip vrf forwarding INSTITUTO-ANGLO
ip address 192.168.148.217 255.255.255.252
no ip directed-broadcast
frame-relay... (2 Replies)
Discussion started by: cskumar
2 Replies
3. Shell Programming and Scripting
Hi all,
i m new to Unix shell scripting(ksh)
i have a requirement, can anyone help me out in this..
spec:
i need to move all the files landing in "X" directory to "Y" directory automatically everyday at a particular time.. (5 Replies)
Discussion started by: subbu
5 Replies
4. Shell Programming and Scripting
" how to write a script to send an error in a log file to a particular E-Mail ID "
Can anyone help me in this ?
Regards (3 Replies)
Discussion started by: himvat
3 Replies
5. Shell Programming and Scripting
Hi,
Please see contains both files created for automating the data from oracle through shell.
1)a_p.ksh
#!/bin/ksh
LOG=/home/A_P.log
MESSAGE=/home/MESSAGE_A_P.txt
mail_list=/home/AP_MAIL_LIST.txt
data=/home/spooled_A_P.log
echo "`date` Starting execution for A_P COUNT" > $LOG
... (2 Replies)
Discussion started by: fidelis
2 Replies
6. Shell Programming and Scripting
Hi All,
I need to split a flatfile based on it's first character, I am using the following script
awk '{print > "TEST_substr($0,1,1).txt"}' PROVIDER.txt
It is returning files
TEST_1 and
TEST_2
But I am not getting the .txt file extension.
I need the files like
TEST_1.txt and ... (1 Reply)
Discussion started by: sam35
1 Replies
7. Shell Programming and Scripting
please solve my problem..... :(
i have a sample input file as
A
A
A
A
B
B
B
B
B
C
C
C
C
C
i want the output such that if the count of A or B or C is greater than 3
A (1 Reply)
Discussion started by: hemanthsaikumar
1 Replies
8. Shell Programming and Scripting
#! /bin/ksh
while read line
do
if ] ; then
echo "no data"
continue;
fi
echo "performing operation on $line"
done < prg.txt (3 Replies)
Discussion started by: Juhi Kashyap
3 Replies
9. Shell Programming and Scripting
Can anyone please help me to create the output file based on the attached input files using ksh script.
I have 2 input files
1) inputfile1.txt
2) inputfile2.txt
The script should accept 2 parametes:
1. Inputfile2.txt with 1-10,000 values ( sample file contains only 4 records)
2. Script... (5 Replies)
Discussion started by: vinus
5 Replies
LEARN ABOUT PLAN9
ossl_store-file
OSSL_STORE-FILE(7SSL) OpenSSL OSSL_STORE-FILE(7SSL)
NAME
ossl_store-file - The store 'file' scheme loader
SYNOPSIS
#include <openssl/store.h>
DESCRIPTION
Support for the 'file' scheme is built into "libcrypto". Since files come in all kinds of formats and content types, the 'file' scheme has
its own layer of functionality called "file handlers", which are used to try to decode diverse types of file contents.
In case a file is formatted as PEM, each called file handler receives the PEM name (everything following any '"-----BEGIN "') as well as
possible PEM headers, together with the decoded PEM body. Since PEM formatted files can contain more than one object, the file handlers
are called upon for each such object.
If the file isn't determined to be formatted as PEM, the content is loaded in raw form in its entirety and passed to the available file
handlers as is, with no PEM name or headers.
Each file handler is expected to handle PEM and non-PEM content as appropriate. Some may refuse non-PEM content for the sake of
determinism (for example, there are keys out in the wild that are represented as an ASN.1 OCTET STRING. In raw form, it's not easily
possible to distinguish those from any other data coming as an ASN.1 OCTET STRING, so such keys would naturally be accepted as PEM files
only).
NOTES
When needed, the 'file' scheme loader will require a pass phrase by using the "UI_METHOD" that was passed via OSSL_STORE_open(). This pass
phrase is expected to be UTF-8 encoded, anything else will give an undefined result. The files made accessible through this loader are
expected to be standard compliant with regards to pass phrase encoding. Files that aren't should be re-generated with a correctly encoded
pass phrase. See passphrase-encoding(7) for more information.
SEE ALSO
ossl_store(7), passphrase-encoding(7)
COPYRIGHT
Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a
copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
1.1.1a 2018-12-18 OSSL_STORE-FILE(7SSL)