08-04-2006
Sos
Dear "expert",
I need to know the command syntax to get the last field of the line below using shell or awk.
MD5 ("P~04-05-2006~PROPAY_IFT~0662012000750~~PAY2~IFTTEST123~1000.23~~~~AMBB~0012010003406~~~~~~~~~~~~~~~~~~~~~~~A 1234567890B1234567890C1234567890~D1234567890E1234567890F1234567890~G1234567890H1234567890~~") = 0616f08fec37ebf30c1e87cb26e6b200
I expect to have the answer as below
0616f08fec37ebf30c1e87cb26e6b200
Many thanks.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anybody can help me with the definition of "terminal" DTE and DCE in context to Unix ?. This has something to do with devices in Unix. I need it asap. Thank you very much !:confused: (1 Reply)
Discussion started by: aqua_jan
1 Replies
2. UNIX for Dummies Questions & Answers
Yesterday,I have a unnormal shutdown of my SCO Unix system,when I boot again,There are
lots of Errors (e.g policy manager error,
ifor_pmd error etc.),Most seriously,I can use my "CC" compiler: when I compile my *.c
files. Who Can Help Me ! Please Don't spare your instructions! Thanks a... (5 Replies)
Discussion started by: dingxf
5 Replies
3. Shell Programming and Scripting
INPUT---> USER | User1 | DisplayName1 | HomeTown1 | 987654321 | 27-07-1991 | M
i want to separate out all the fields of the file which has the format specified above , with the use of awk. I was writing that to the mysql by batch-file. But now there is problem , in databse i have defined the... (2 Replies)
Discussion started by: yogesh_powar
2 Replies
4. Solaris
hi all,
does someone have any information about "sun connect" (like documentation , web site , forums , explanations .....) ?
because i will need this software in my job & i don't know how to use it :o (4 Replies)
Discussion started by: lid-j-one
4 Replies
5. Shell Programming and Scripting
Hello,
I know how to get a solution of a filtering problem with AWK, but i need change default field separator by a regular expression. awk -F "xxx"
What i want to do is take a stranza as a field, so the field separator must be a EMPTY line. Does anybody how to do that??
a example:
... (1 Reply)
Discussion started by: antuan
1 Replies
6. Solaris
Hi, friends, I am new here and also new in Unix. I want your kindly help for now!
I cannot run the program vmed on my computer ,that reply the error
$ vmed
bash: vmed: command not found
$ ./vmed
ld.so.1: vmed: fatal: libpgplot.so: open failed: No such file or directory
Killed
as I... (12 Replies)
Discussion started by: wholesome80
12 Replies
7. HP-UX
hi all,
I just want to make a depot package.All steps:
1. make a psf file
# PSF which define the myutil product
depot
layout_version 1.0
tag ddmi_linux_installer
title ddmi_linux_installer
# Product definition
vendor
tag HP
title Hewlett-Packard Company
product
tag... (0 Replies)
Discussion started by: lb1111830
0 Replies
IGAWK(1) Utility Commands IGAWK(1)
NAME
igawk - gawk with include files
SYNOPSIS
igawk [ all gawk options ] -f program-file [ -- ] file ...
igawk [ all gawk options ] [ -- ] program-text file ...
DESCRIPTION
Igawk is a simple shell script that adds the ability to have ``include files'' to gawk(1).
AWK programs for igawk are the same as for gawk, except that, in addition, you may have lines like
@include getopt.awk
in your program to include the file getopt.awk from either the current directory or one of the other directories in the search path.
OPTIONS
See gawk(1) for a full description of the AWK language and the options that gawk supports.
EXAMPLES
cat << EOF > test.awk
@include getopt.awk
BEGIN {
while (getopt(ARGC, ARGV, "am:q") != -1)
...
}
EOF
igawk -f test.awk
SEE ALSO
gawk(1)
Effective AWK Programming, Edition 1.0, published by the Free Software Foundation, 1995.
AUTHOR
Arnold Robbins (arnold@skeeve.com).
Free Software Foundation Nov 3 1999 IGAWK(1)