Hi,
I need some help regarding in writing a Korne shell script, in determining the fixed length records in a data file. We have already utility in place, which does this work. The Code for this is as below. In the below $1 is the parameter passed to the script, which is the data file name.
... (4 Replies)
Hi, all.
I need to convert a file tab delimited/variable length file in AIX to a fixed lenght file delimited by spaces. This is the input file:
10200002<tab>US$ COM<tab>16/12/2008<tab>2,3775<tab>2,3783
19300978<tab>EURO<tab>16/12/2008<tab>3,28523<tab>3,28657
And this is the expected... (2 Replies)
I have a fixed length file that need to be sorted according to the following rule
IF B=1 ORDER by A,B
Else ORDER by A,C
Input file is
ABC
131
112
122
231
212
222
Output needed
ABC
112
131
122
212
231
222 (1 Reply)
Hi All,
So far, I've been extracting data from db2 tables and exporting the file as a tab delimited file into a UNIX server using the following command:
export to /.../.../.../.../.../SM_RAW_DATA.dat of del modified by coldel| nochardel
select a.accno,
a.CUR_BL_AM, ... (1 Reply)
Hi Gurus,
Thanks in advance...
I am new to writing shell scripting and help me out reading a flat file with fixed length.
I have a fixed length flat file with storename(lenth 6) , emailaddress(lenth 15), location(10). There is NO delimiters in that file.
Like the following str00001.txt... (2 Replies)
Hii ,I am new to Unix ,i have a flat file which is (fixed length) sitting in unix,Which is holding the data for a table.I want to extract one column(length7-10) on the basis of another column(length13-15) and want only one single row
Example:
Below is the sample of flat file.
1111 AAAA 100 ... (4 Replies)
Hello Everyone,
I am stuck with one issue while working on abstract flat file which i have to use as input and load data to table.
Input Data-
------ ------------------------ ---- -----------------
WFI001 Xxxxxx Control Work Item A Number of Records
------ ------------------------... (5 Replies)
Hi,
How to add trailer record at the end of the flat file in the unix ksh shell scripting
can you please let me know the procedure
Regards
Srikanth (3 Replies)
Hi
I have a file called "test.txt" and it looks like this
x
y
z
x/c
y/c/b
now, i want to run a command and its output will be like this
x 10
y/c/b 20
z 78
--------
my requirement is, i want to add the command output to "test.txt" as like below
x 10
y ... (1 Reply)
Discussion started by: siva kumar
1 Replies
LEARN ABOUT DEBIAN
jifty::letme
Jifty::LetMe(3pm) User Contributed Perl Documentation Jifty::LetMe(3pm)NAME
Jifty::LetMe - A way to expose single-link URLs to your applications
new
Create a new "LetMe" authentication object; it takes no parameters. It calls "_init" to do any initialization.
A LetMe is a way to provide a one-time-use URL for a particular purpose. All LetMe objects give you a way to validate a user's identity
and to allow them a very small set of possible actions or page-access permissions.
For example, you can put a LetMe URL in an email to a new user, so that when they click on the URL you know that their email address is
valid.
_init @_
Called with whatever "new" was called with. By default, does nothing.
user
Contains an app-specific "user" object.
validated_current_user
If the user has presented a valid token, returns an (app-specific subclass of the) Jifty::CurrentUser object for the user who has the email
address in $self->email. If no user has that email address, returns undef.
_user_from_email ADDRESS
Returns an (app-specific subclass of the) Jifty::CurrentUser object for the user who has the email address ADDRESS.
generate_checksum
Returns an authentication checksum for the current combination of:
user
path
arguments
until
generate_koremutake_checksum
Generate a slightly more pronounceable version of the checksum using String::Koremutake. Due to hex -> integer limitations, this is
imprecise and may vary depending on the platform it is used on; as such, it is deprecated.
from_token PATH
Parse a string of the form
mylongusername@example.com/update_task/23/until/20050101/bekidrikufryvagygefuba
into
email => mylongusername@example.com,
path => 'update_task/23'
until => 20050101,
checksum_provided => bekidrikufryvagygefuba
as_token
Returns the "letme" token for this set of credentials. This should round trip cleanly with from_token
as_encoded_token
A variant of as_token that encodes the user's email address suitably for passing in a URL
as_url
Returns the fully qualified URL for this LetMe. It's composed of Jifty->web->url, "base_path" and "as_encoded_token"
base_path
By default, all "LetMe" actions live at URLs under '/let' inside your application. Override this subroutine to change that.
By default, it returns '/let/'
validate
Returns true if the credentials the user presented validate OK. Returns false otherwise.
_correct_checksum_provided
Returns true if the checksum the user provided is correct. Doesn't actually do much input checking. You want to call "validate"
perl v5.14.2 2010-12-08 Jifty::LetMe(3pm)