Search Results

Search: Posts Made By: AnnaLynn
Forum: Programming 07-19-2009
1,673
Posted By AnnaLynn
Information from screen
Hi,

Just wondering if anybody could point me in the right direction on this one.

What I'm basically trying to do is write a program to grab information off a webpage which is continually...
4,888
Posted By AnnaLynn
How to use cut to ..... cut
Hi,

I'm trying to figure out how to use cut to get rid of piece of a string.

something like blahblahblahJ-badstuff-Jblahblah.txt

I basically want to cut out everything between the J's. Is...
25,143
Posted By AnnaLynn
Round with awk
Hi, I have a problem. Basically I dont know how to use awk. I have a script (below) which works fine.

What I want to do is somehow "pipe" in the input say 4.5 and have it give the anwer, I dont...
3,635
Posted By AnnaLynn
Its ok, I solved it, thats for your help :b:
Its ok, I solved it, thats for your help :b:
3,635
Posted By AnnaLynn
That doesnt work either. All Im trying to do...
That doesnt work either.

All Im trying to do is really

awk '{print > "something${f}" $1 ".txt"}'

How do I expand the variable ${f} inside the awk ????
3,635
Posted By AnnaLynn
Im afraid that doesnt work. cat listoffiles...
Im afraid that doesnt work.

cat listoffiles | while read $line;do awk '{print > "nonav$line" $1 ".txt"}' $line;done

This is my line.

What I want to do is take each filename in listoffiles...
3,635
Posted By AnnaLynn
Basically what I am asking is How do I get...
Basically what I am asking is

How do I get this to work:

awk '{print > "something$inputfile" $1 ".txt"}' $inputfile

?

I've tried
awk '{print > "something"$inputfile"" $1 ".txt"}' ...
3,635
Posted By AnnaLynn
And if I wanted to use the input filename in the...
And if I wanted to use the input filename in the output file's names? How owuld I do that?

I have the whole thing in a big script:

cat listoffilenames | while read line; do awk{the stuff above...
3,635
Posted By AnnaLynn
Brilliant! :cool: Works like a dream
Brilliant! :cool: Works like a dream
3,635
Posted By AnnaLynn
unix noob help with awk?
Hi
I'm really new to this so sorry if this is trivial

What I'm trying to do is take a file with 3 columns of numbers and cat all the entries of the second and third columns which have the same...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 03:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy