Sponsored Content
Full Discussion: Posted a Question Yesterday
Top Forums Shell Programming and Scripting Posted a Question Yesterday Post 302152085 by xgringo on Tuesday 18th of December 2007 02:36:37 PM
Old 12-18-2007
Tools Posted a Question Yesterday

Was wondering if it was too stupid and got deleted? Because it's gone now from the board.

I was asking about For Loops ----?


#!/usr/bin/bash

bank=`cat /export/home/usr/banklist.txt`
cdir=`cat /export/home/usr/mountlist.txt`
for d in $cdir
do
ls -l /apps/data/custdata/$d/$i/incoming/
ls -l /apps/data/custdata/$d/$i/outgoing/

for d in $bank
do

ls -l /apps/data/custdata/$d/$i/incoming/
ls -l /apps/data/custdata/$d/$i/outgoing/
done;
done;

The question was asking how to fill in the variables from two different lists of files and when they match peform an action ls -ltr for example?

If this gets deleted it must mean I need to go to the Unix for dummies thread? Smilie

Last edited by xgringo; 12-18-2007 at 04:18 PM..
 

7 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

minor issue on question that i had posted !!

to the moderators of this site... i posted a question several weeks ago about a egep -e if you look through my posts you will see that my question was fully plausible as a reasonable post that could have been answered even it was to say that I should search the man pages myself and find the... (4 Replies)
Discussion started by: moxxx68
4 Replies

2. Post Here to Contact Site Administrators and Moderators

how to delete a posted thread?

if any user think that the thread posted by them is not good and want to delete it how to do that? (1 Reply)
Discussion started by: sekar sundaram
1 Replies

3. Post Here to Contact Site Administrators and Moderators

posted twice on same thread..

sorry! accidentally posted the same post twice on a thread.. could you please remove the second .. thanx moxxx68 (1 Reply)
Discussion started by: moxxx68
1 Replies

4. What is on Your Mind?

How many has posted over 1000 posts????

Hey all, does any one know how many out of 49000 odd members have crossed the postings over 1000 messages???? (6 Replies)
Discussion started by: ahmedwaseem2000
6 Replies

5. Forum Support Area for Unregistered Users & Account Problems

Posted thread

Hi, I joined yesterday and posted a thread and received emails from people suggesting solutions. My problem is that when I tried to access my posting this morning by clicking on the link in an emial, it said I wasn't registered and I had to re-register and I can't find my posting. The emial I... (1 Reply)
Discussion started by: hdixon
1 Replies

6. Post Here to Contact Site Administrators and Moderators

Spam being posted by user

The second post in this thread is spam. All of the other posts that I looked at by the same user are also spam. https://www.unix.com/shell-programming-scripting/152728-using-grep-returns-partial-matches-i-need-get-exact-match-nothing.html Don't know if the individual reply can be scratched,... (2 Replies)
Discussion started by: agama
2 Replies

7. Solaris

This must be the dumbest question ever posted -T5140 power button

I have a T5140 and cannot find the power switch -is there an on/off button? Good grief ! Thank you in advance. joe (3 Replies)
Discussion started by: joboy
3 Replies
KTOBLZCHECK(1)						      General Commands Manual						    KTOBLZCHECK(1)

NAME
ktoblzcheck - Check Account and BLZ (bank routing code) SYNOPSIS
ktoblzcheck [--returncode] [--file=<datafile>] <bank-id> <account-id> DESCRIPTION
This manual page documents briefly the ktoblzcheck application. ktoblzcheck is a program that will check a given account and blz for the bank being valid and the account being valid using some checksum calculations, if supported for that particular bank. The output is the clear-text name of the bank specified by <bank-id>, and whether the given <account-id> is a valid account number at this bank. OPTIONS
<bank-id> This is the Bankleitzahl (bank routing id), actually it is the account-id of that particular bank at the Deutsche Bundesbank. <account-id> This is the account number you wish to verify. If the checksum method of the bank specified by the <bank-id> is supported, you will get the account-id verified, i.e. if it is a valid account-id at that particular bank. --returncode If given, the result is returned via the returncode and no output on the terminal. The following returncodes are possible: 0: account and bank are ok 1: unknown, e.g. checksum not implemented or such 2: account and/or bank not ok 3: bank not found --file=<datafile> Specifies the file with the bankdata. This file can be obtained via the internet from the Deutsche Bundesbank on address http://www.bundesbank.de/zahlungsverkehr/zahlungsverkehr_bankleitzahlen_download.php Beware! This page is in German only. BUGS
No bugs are known at this time. Only certain checksum algorythms are supported as of now, so please don't complain if you always get "unknown" as return value. AUTHOR
This manual page was written by Jens Gecius <jens@gecius.de> for the Debian GNU/Linux system. Authors of ktoblzcheck are Fabian Kaiser <fabian@openhbci.de> and Christian Stimming <stimming@tuhh.de>. August 3, 2003 KTOBLZCHECK(1)
All times are GMT -4. The time now is 11:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy