9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to sum up the values in field nr 5 in a data file that contains some file listing. The 5th field denotes the size of each file and following are some sample values.
1,775,947,633
4,738
7,300
16,610
15,279
0
0
I tried the following code in a shell script.
awk '{sum+=$5} END{print... (4 Replies)
Discussion started by: krishmaths
4 Replies
2. Shell Programming and Scripting
Hi there,
say I have a line with multiple columns but with different separation formats: spaces, tabs..
Is it possible to have AWK print the separation format between each column? (10 Replies)
Discussion started by: la2015
10 Replies
3. Shell Programming and Scripting
Hi I have an XML File with default header($ lines of data) and default tail (Two Lines) and the body has occurrence of start<Folder> and ends with </Folder>.
Now i want to split each occurrence i mean each start and end in to separate files with header and tail.
For example:
header line... (12 Replies)
Discussion started by: Nithin Kumar
12 Replies
4. Shell Programming and Scripting
I have prepared a script to submit a string in a txt file.
However there are somethings that I have to check before submitting the string in the txt file.
One of those checks is to determine whether the string entered contains any metacharacters.
I have tried sth like;
echo "string" | grep -v ... (3 Replies)
Discussion started by: ozum
3 Replies
5. Shell Programming and Scripting
A file file1.txt exists having records like
The delimiter being "|"
X|_|Y|_|Z|_| (number of fields 7)
A|_|B|_| (number of fields 5)
X|_|Z|_|H|_| (number of fields 7)
A|_|D|_|S|_| (number of... (4 Replies)
Discussion started by: centurion_13
4 Replies
6. Shell Programming and Scripting
HI Pros,
I have a issue.I need to write a script to parse the logs got from syslog server and update the same in my database.I need the following output.I donot know perl and I heard it very easy to write in perl
I have the sample log I need each column seperated by commas and all equals... (0 Replies)
Discussion started by: iron_michael86
0 Replies
7. Shell Programming and Scripting
Hi everyone,
My problem is strange, I cannot think of why this is happening.
I have a set of data that looks like this:
Although it does not look it, the fields are tab delimited. I have made sure of this, and awk does recognize them as such. However, it divides what I would expect... (2 Replies)
Discussion started by: ccox85
2 Replies
8. UNIX for Dummies Questions & Answers
I am new to UNIX (about a year) and learning as fast as I can. I am an instructor teaching UNIX and have two labs with Ultra 10 333 MHz, Sun Blade 1000 1 GHz, Blade 100, and Two Enterprise 250 Servers. We are currently teaching our classes using the Solaris 2.10 OS, downloaded in May 2006, I am not... (7 Replies)
Discussion started by: dutchman
7 Replies
9. Shell Programming and Scripting
I have a file that looks like this:
G. KRESSLAR
9618 W. APPALOOSA DRIVE
SUN CITY, AZ 85373
SHIRLEY ALLEN
7272 W. VIA MONTOYA DRIVE
GLENDALE, AZ 85310
LOUIS VALDEZ
244441 N. 86TH AVENUE
PEORIA, AZ 85383
DONNA NEWBON
3231 W. DENTON #D
PHOENIX, AZ 85017
SARAH WILSON
6534 W. PALO... (3 Replies)
Discussion started by: BCarlson
3 Replies
FSF-FUNDING(7) GNU FSF-FUNDING(7)
NAME
fsf-funding - Funding Free Software
DESCRIPTION
Funding Free Software
If you want to have more free software a few years from now, it makes sense for you to help encourage people to contribute funds for its
development. The most effective approach known is to encourage commercial redistributors to donate.
Users of free software systems can boost the pace of development by encouraging for-a-fee distributors to donate part of their selling
price to free software developers---the Free Software Foundation, and others.
The way to convince distributors to do this is to demand it and expect it from them. So when you compare distributors, judge them partly
by how much they give to free software development. Show distributors they must compete to be the one who gives the most.
To make this approach work, you must insist on numbers that you can compare, such as, "We will donate ten dollars to the Frobnitz project
for each disk sold." Don't be satisfied with a vague promise, such as "A portion of the profits are donated," since it doesn't give a
basis for comparison.
Even a precise fraction "of the profits from this disk" is not very meaningful, since creative accounting and unrelated business decisions
can greatly alter what fraction of the sales price counts as profit. If the price you pay is $50, ten percent of the profit is probably
less than a dollar; it might be a few cents, or nothing at all.
Some redistributors do development work themselves. This is useful too; but to keep everyone honest, you need to inquire how much they do,
and what kind. Some kinds of development make much more long-term difference than others. For example, maintaining a separate version of
a program contributes very little; maintaining the standard version of a program for the whole community contributes much. Easy new ports
contribute little, since someone else would surely do them; difficult ports such as adding a new CPU to the GNU Compiler Collection con-
tribute more; major new features or packages contribute the most.
By establishing the idea that supporting further development is "the proper thing to do" when distributing free software for a fee, we can
assure a steady flow of resources into making more free software.
SEE ALSO
gpl(7), gfdl(7).
COPYRIGHT
Copyright (c) 1994 Free Software Foundation, Inc. Verbatim copying and redistribution of this section is permitted without royalty; alter-
ation is not permitted.
gcc-4.3.0 2007-05-12 FSF-FUNDING(7)