![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parse Logfile output variable | Ikon | Shell Programming and Scripting | 11 | 12-12-2008 10:37 AM |
| To parse through the file and print output using awk or sed script | cdfd123 | Shell Programming and Scripting | 4 | 03-03-2008 12:07 PM |
| How to parse through a file and based on condition form another output file | sivasu.india | UNIX for Advanced & Expert Users | 6 | 02-28-2008 04:59 AM |
| parse through one text file and output many | sophiadun | UNIX for Dummies Questions & Answers | 14 | 02-20-2008 06:08 AM |
| Parse ping output | palm101 | Shell Programming and Scripting | 3 | 11-11-2007 12:16 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
ok, I have
Code:
IFS=":" && \
while read name fein
do
fein=`echo -n $fein`
echo "$name:"$(sha1sum <<< $fein)
done < raw_data.txt > hashed_data.txt
Code:
first company name:179c94cf45c6e383baf52621687305204cef16f9 - second company name:a1b42d633e975efc2f665bda21f94e419c1b6074 - |
|
||||
|
YUP, that got it! Thanks so much for your help everybody
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| awk, awk trim, bash, csv, md5sum, sha1sum, trim, trim awk |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|