10-14-2011
That was a typo I made in highlighting the change to red. You saw it during the 13 seconds before I fixed it
Glad it works.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am new to UNIX scripting and woiuld appreicate your help...
Input file contains only one (but long) record:
aaaaabbbbbcccccddddd.....
Desired file:
NEW RECORD #new record (hardcoded) added as first record - its length is irrelevant#
aaaaa
bbbbb
ccccc
ddddd
...
...
... (1 Reply)
Discussion started by: rsolap
1 Replies
2. Shell Programming and Scripting
Dear all,
Does anyone know how I could to add a column of numbers (1s, or 2s, or..., or 6s) to two-column text files (tab-delimited), where the specific number to be added varies as a function of the file naming?
Currently, each of my text files has two columns, so the column with the... (12 Replies)
Discussion started by: rlapate
12 Replies
3. Shell Programming and Scripting
Hi,
I have two files , one file with data file with attributes that need to be sent to another file to generate a predefined format.
Example:
File.txt
AP|{SSHA}VEEg42CNCghUnGhCVg==
APVG3|{SSHA}XK|"password"
AP3|{SSHA}XK|"This is test"
....
etc
---------
test.sh has... (1 Reply)
Discussion started by: hudson03051nh
1 Replies
4. Shell Programming and Scripting
Hi All,
I want to change the name as SEQ_13
ie., <Property Name="Name">SEQ_13</Property>
when the Stage Type is PxSequentialFile
ie., <Property Name="StageType">PxSequentialFile</Property> :wall:
Input.XML
<Main>
<Record Identifier="V0S13" Type="CustomStage" Readonly="0">... (3 Replies)
Discussion started by: kmsekhar
3 Replies
5. Shell Programming and Scripting
Hi everybody,
I had 10 files in in one folder(/home/sai/) namely sai.
1.gz,2.gz,3.gz ..,10.gz.
I want to delete the files which are there home based on the following conditions
fliecount in sai folder==10 && grep -cv ".gz"==0
How to check this using awk?
Otherwise please... (2 Replies)
Discussion started by: p_sai_ias
2 Replies
6. Shell Programming and Scripting
Hi All,
I felt tough to frame my question. Any way find my below input. (.CSV file)
SNo, City
1, Chennai
2, None
3, Delhi
4,None
Note that I have many rows ans also other columns beside my City column.
What I need is the below output.
SNo, City
1, Chennai
2, Chennai_new
3, Delhi... (2 Replies)
Discussion started by: ks_reddy
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a tab delimited text file with three different columns. I want to add an extra column to the text file. The extra column will be the second column and it will equal third column - 1. How do I go about doing that? Thanks!
Input:
chr1 788822 rs11240777
chr1 1008567 rs9442372... (2 Replies)
Discussion started by: evelibertine
2 Replies
8. Programming
Hello,
I extracted a list of files in a directory with the command ls . However this is not my computer, so the ls functionality has been revamped so that it gives the filesizes in front like this :
This is the output of ls command : I stored the output in a file filelist
1.1M... (5 Replies)
Discussion started by: ajayram
5 Replies
9. Shell Programming and Scripting
I collect data in a file in below format(Month Day Year Size) in RedHat Linux. Now i want to calculate the data size date wise. As i code shell script after long time, i forgot the features and syntax. Can anyone help me regard this please.
Feb 8 2014 15
Feb 10 2014 32
Feb 10 2014 32
Feb 12... (2 Replies)
Discussion started by: makauser
2 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I have a working script as below.
echo "Files loaded with $(cat /var/tmp/script.X1.out)" | mail -s "Files loaded with return code" mailid
This script takes the output from script.X1.out file and appends the text "Files loaded with return code" and sends the email. Now what I want... (5 Replies)
Discussion started by: midhun3108
5 Replies
LEARN ABOUT DEBIAN
floatbg
floatbg(1X) floatbg(1X)
NAME
floatbg - slowly modify the color of the X root window
SYNTAX
floatbg [-display display] [-help] [-gnome] [-xfce] [-value float] [-satmid float] [-satvar float] [-fase float] [-time float]
DESCRIPTION
Floatbg is an X11 program that modifies the color of the root window in such a manner that you won't see the color change, but after a
while you'll notice that it did change, however.
Floatbg starts with a random color and changes it deterministically by moving through an hsv-model of colors. In the hsv-model, colors are
described by three parameters: Hue stands for the tint of a color (0 degrees is red, 60 = yellow, 120 = green, 180 = aquamarine, etc), sat-
urations stands for the brightness of the color (0 = white, 1 = bright), and value stands for the intensity of the color (0 = black, 1 =
normal).
Every 10 seconds the hue (tint) is increased by one degree and the saturation (brightness) is changed by a sinus over the hue. (The fre-
quency of this change can be adjusted with the -time parameter.) The shape of this sinus can be adapted with the options -satmid, -satvar
and -fase. The value (blackness) is fixed and can be set with the option -value. The default values are: floatbg -value .87 -satmid .375
-satvar .125 -fase .25, and are such that all pastel tints are visited.
Extremely simplistic Gnome and Xfce support can be enabled with the -gnome and -xfce flags.
BUGS
Floatbg doesn't use any window, button or menu, and it can only be stopped by killing it.
AUTHOR
Jan Rekers - rekers@cwi.nl
floatbg(1X)