Hi All,
I wish to cut an input by using the below command but i would want to have the cut position as a variable.
For eg, the position number is 11 now and i wish that this number is being assigned to a variable before putting into the cut function.
Can this be done ?
Can any expert help?... (1 Reply)
Hi, I had to create a new thread as the old thread had to much of confusion
I have two files shashi.sh and py.py
I want to pass a variable from shashi.sh to py.py. How do i achieve that ?.
shashi.sh
export X=12
echo "$("pwd")"
echo "$X"
exec python py.py "$(X)"
py.py... (0 Replies)
Hi all
let's say i have a file named 1234_v2_abcd
i need to find the position of the character located after _v, in above case this would be character number 2
the count of the characters before _v can change, but i always have a number after _v
can anybody help :) (4 Replies)
HI All,
am trying to find the position of space in a variable, it is working for other characters other than space
ulab="ulab1|ulab2"
find_pos=`expr index $ulab '|'`
echo $find_pos
above code worked fine but below one says syntax error
ulab="ulab ulab2"
find_pos=`expr index $ulab ' '`... (2 Replies)
Hi there script guru's
I have an input file /tmp/in.txt of which the data is seperated by a : (example of the data)
test1:zz:2000:2000:zzz
te:a:2000:3333:bbb
testabs:x:2004:3000:cccc
I would like to run a scrip (bash) changing the data after the second ":"
example
Test for the value of... (3 Replies)
I have several questions about using awk. I'm hoping someone could lend me a hand. (I'm also hoping that my questions make sense.)
I have a file that contains pipe separated data. Each line has similar data but the number of fields and the field position on each line is variable. ... (3 Replies)
How can I pass bash Variable to python script.
bash.sh
while read -r db
do
Printf "%s\n" ${db} "Found"
done < path/to/file.txt
file.txt
db1
db2
db3
python.py
print(${db}_tables.replicate.fix) (2 Replies)
I currently have a loop that reads all .bam files in a directory (wont always be 4 like in this example,
into $id. What I am trying to do, unsucessfully, is create specific new lines in an exsisting command using
each $id. Each new line would be:
--bam ${id} \
Tried
p=$dir... (8 Replies)
Discussion started by: cmccabe
8 Replies
LEARN ABOUT DEBIAN
ktoblzcheck
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)