Search Results

Showing results 1 to 5 of 5
Search took 0.01 seconds.
Search: Posts Made By: mustaine85
Forum: Shell Scripting Jan 3rd, 2009
Replies: 2
Views: 847
Posted By mustaine85
sed "${i}s/$/${age}/g" birthday.csv
Worked great thanks very much :)
Forum: Shell Scripting Jan 3rd, 2009
Replies: 2
Views: 847
Posted By mustaine85
Can I use my own variables within awk and sed for example:
I've written a while loop with a counter $i and I want to use the value of $i within sed and awk to edit certain lines of text within a...
Forum: Shell Scripting Jan 3rd, 2009
Replies: 3
Views: 1,096
Posted By mustaine85
That works great thanks :D
Forum: Shell Scripting Jan 1st, 2009
Replies: 3
Views: 1,096
Posted By mustaine85
Hi,
how do you append to a variable? I can only get it to work with a seperate file like this:

printf $number1 >> sum.txt

I tried this :

$number1 >> $sum

but it says $sum: ambiguous...
Forum: Shell Scripting Dec 29th, 2008
Replies: 1
Views: 590
Posted By mustaine85
Hi I have a simple question.
Is there an easy way read a date of birth from a file and calculate how old that person is based on today's date? And would I need the make sure the birthdates are...
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC