Either change "else if" to "elif", which is the proper keyword for this, or add another "fi" before "done". Furthermore, "//" is not a comment introducer in bash, replace it with "#"
I have a very basic bash shell script, which has many "while... done; for .... done" loop clauses, like the following
~~
#!/bin/bash
while blablalba; do
....
done < /tmp/file
for line in `cat blablabla`; do grep $line /tmp/raw ; done > /tmp/1;
while blablalba2; do
....
done <... (2 Replies)
SEND_MESSAGE=test
echo $SEND_MESSAGE
if
then
echo `date` > update_dt_ccaps.lst
echo "The file transfer failed" >> update_dt_ccaps.lst
SEND_MESSAGE=false
fi
The above code is showing error in bash shell as :
./test: line 5: [: test: integer expression expected
... (2 Replies)
Hello, first of all I am happy to sign up here.
Next is, I have shell scripts for all the files I want looped infinitely for specific intervals(This is for a wmii config). My question here is how can I run multiple scripts at a 10 second interval for instance? (4 Replies)
I'm trying to search all .odt files in a directory for a string in the text of the file.
I've found a bash script that works, except that it can't handle whitespace in the filenames.
#!/bin/bash
if ; then
echo "Usage: searchodt searchterm"
exit 1
fi
for file in $(ls *.odt); do
... (4 Replies)
Having issues with an expect script. I've been scripting bash, python, etc... for a couple years now, but just started to try and use Expect. Trying to create a script that takes in some arguments, and then for now, just runs a pwd command(for testing, final will be command I pass).
Here is... (0 Replies)
Hi Folks,
I have a loop that goes through an array and the output is funky.
sample:
array=( 19.239.211.30 )
for i in "${array}"
do
echo $i
iperf -c $i -P 10 -x CSV -f b -t 50 | awk 'END{print '$i',$6}' >> $file
done
Output:
19.239.211.30
19.2390.2110.3 8746886
seems that when... (2 Replies)
I have the following while loop that I put in a script, demo.sh:
while read rna; do
aawork=$(echo "${rna}" | sed -n -e 's/\(...\)\1 /gp' | sed -f rna.sed)
echo "$aawork" | sed 's/ //g'
echo "$aawork" | tr ' ' '\012' | sort | sed '/^$/d' | uniq -c | sed 's/*\(*\) \(.*\)/\2: \... (3 Replies)
Dear all,
Please help with the following.
I have a file, let's call it data.txt, that has 3 columns and approx 700,000 lines, and looks like this:
rs1234 A C
rs1236 T G
rs2345 G T
Please use code tags as required by forum rules!
I have a second file, called reference.txt,... (1 Reply)
Hi everyone
I need some help
I want to create an script which does some processing
it takes the two arguments 201901010000 and 201901020200 - so YYYMMDDHHMM
I want to split processing into hours from start until end,
I dont get why this works but when I add to a future variable... (1 Reply)
Create a single bash script that does the following:
a. Print out the number of occurrences for each motif that is found in the bacterial genome and output to a file called motif_count.txt
b. Create a fasta file for each motif (so 3 in total) which contains all of the genes and their... (6 Replies)
Discussion started by: dre
6 Replies
LEARN ABOUT DEBIAN
wintabs
WinTabs(1x) AfterStep X11 window manager WinTabs(1x)NAME
WinTabs - AfterStep module for arranging windows using tabs
CONFIGURATION OPTIONS
Align
FIXME: add proper description here.
See Also: Alignment flags for further details.
AllDesks
FIXME: add proper description here.
BalloonBorderHilite
Defines the bevel to be drawn around balloons - replaces the BorderWidth setting.
See Also: Bevel flags for further details.
BalloonCloseDelay number
Specifies the period in milliseconds to delay the disappearance of the balloon when leaving window with the mouse.
BalloonDelay number
Specifies the period in milliseconds to delay the appearance of the balloon.
BalloonStyle MyStyle
MyStyle to be used to draw balloon. Note that balloons could be shaped (BackPixmap 125 and 126).
BalloonTextPaddingX size
width of the border around the text in balloons.
BalloonTextPaddingY size
height of the border around the text in balloons.
BalloonXOffset offset
Specifies the horizontal offset (in pixels) to use when displaying balloons.
BalloonYOffset offset
Specifies the vertical offset (in pixels) to use when displaying balloons.
Balloons
Turns on the balloon feature. A "balloon" is displayed showing the name of the button the pointer is resting on in the WinTabs.
Bevel
FIXME: add proper description here.
See Also: Bevel flags for further details.
CompositionMethod
FIXME: add proper description here.
ExcludePattern
FIXME: add proper description here.
FBevel
FIXME: add proper description here.
See Also: Bevel flags for further details.
FCompositionMethod
FIXME: add proper description here.
FocusedBevel
FIXME: add proper description here.
See Also: Bevel flags for further details.
FocusedStyle
FIXME: add proper description here.
Geometry
FIXME: add proper description here.
GroupNameSeparator
When set a substring which separates group name from the rest of the name, while doing tab grouping. See also GroupTabs option.
GroupTabs
When set it will make WinTabs attempt to group tabs together if their beginning or end of the name is the same. See also GroupName-
Separator.
HSpacing
FIXME: add proper description here.
IconTitle
FIXME: add proper description here.
MaxColumns
FIXME: add proper description here.
MaxRows
FIXME: add proper description here.
MaxTabWidth
FIXME: add proper description here.
MinTabWidth
FIXME: add proper description here.
MyStyle
FIXME: add proper description here.
See Also: MyStyle definition for further details.
NoBalloons
FIXME: add proper description here.
Pattern
FIXME: add proper description here.
SBevel
FIXME: add proper description here.
See Also: Bevel flags for further details.
SCompositionMethod
FIXME: add proper description here.
SkipTransients
FIXME: add proper description here.
Spacing
FIXME: add proper description here.
StickyBevel
FIXME: add proper description here.
See Also: Bevel flags for further details.
StickyStyle
FIXME: add proper description here.
Title
FIXME: add proper description here.
UBevel
FIXME: add proper description here.
See Also: Bevel flags for further details.
UCompositionMethod
FIXME: add proper description here.
UnfocusedBevel
FIXME: add proper description here.
See Also: Bevel flags for further details.
UnfocusedStyle
FIXME: add proper description here.
UseSkipList
FIXME: add proper description here.
VSpacing
FIXME FOR GOOD: add proper description here.
3rd Berkeley Distribution AfterStep v.2.2.11 WinTabs(1x)