Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Josewr

    Changing corner radius on a rectangle

    Is there a way to change the corner's radius of a rectangle in PowerPoint? If I make it with straight lines and arcs of circle, even if I group the pieces when I copy the shape over the pieces do not stay connected at the ends. If I use the rectangle with rounded corners provided, the radius of...
  2. Josewr

    print every Nth line from a file

    I have a file with about 200,000 lines. They are 0.01 sec apart. I want to pick every Nth line and copy to a separate file. The time appears on column 18th. I named the AWK file "Decimate". I have tried: BEGIN { time = 61400} {{ if ( $18 > time ) print $0 >> "Output_file.asc"} time = time...
  3. Josewr

    Copy formulas from one Excel book to another

    Thanks, That may have worked on an earlier version of Excel, but not on 2007. The Paste Special choices are different. It changes to: Microsoft Office Excel Worksheet Object, Pictures, Bitmap, ... DIF, XML, etc.
  4. Josewr

    Copy formulas from one Excel book to another

    I was hoping I could do it from one instance of excel to the other. I guess I can't as I could on Wingz. Thanks
  5. Josewr

    Copy formulas from one Excel book to another

    I have two Excel books opened (not two sheets on the same book) and I try to copy the equations from cells on one book to cells on the other book and all I get is the value the cell had on the first book rather than copying the equations. I can copy the equations from the formula bar, but I...
  6. Josewr

    How do I check if a file exist in a directory?

    Thanks, but: Suppose I enter "myfile.asc" but the actual file in the directory is "Myfile.asc" or "myfi1e.asc" (Note the numeral "1" in place of the letter "l") My question is "Is there a way for the program to check that the name exists in that directory? I want the program to check it...
  7. Josewr

    How do I check if a file exist in a directory?

    I am requesting, through AWK, for the operator to enter a filename: Ans = 0 BEGIN {while (Ans == 0) { {printf "Enter file Name: " getline name < "-" } {printf "This is the name you entered: " print name printf "Is that correct? 1, 0 " getline Ans < "-" print Ans }...
  8. Josewr

    modify and rename file

    Thanks to you both, feherke and PH! Looks like I had the cart before the horse. It works now!! Jose
  9. Josewr

    modify and rename file

    Sorry, but I had tried that also. I was just trying to simplify the Posting. This are the important lines on the program look like: BEGIN {getline print $0 > new} {if (length($2) >= 76){ {print "-- * " > new} {print "-- * 8/3/05 Jose Changed to New Specs, 18 May 2005. " >new}...
  10. Josewr

    modify and rename file

    I need to modify a file and rename it. Tried: awk -f modfile oldname new=newfile.fmt (Tried also: awk -f modfile oldname new="newfile.fmt") and modfile has lines such as {print " mod1 " > new} {print " mod2 " > new} The modfile works if I change the lines to read: {print " mod1 " >...
  11. Josewr

    Merge two files line-by-line

    Thanks, join did the trick. That shows you how little I know about SUN commands. I have heard of them, but my mind was tuned to AWK or GAWK. Thanks again. Josewr
  12. Josewr

    Merge two files line-by-line

    I have two files that I want to merge. Both have the same number of lines and I want to merge them line by line. The data is tab delimited and may contain floating points as well as Boolean. They may have over 100 lines each; but the files to be merged will always have the same number of...
  13. Josewr

    Extract data from a file depending on pattern on another

    Thanks, Now if I could understand what all that code is doing past exit 9. I guess I need to read the man awk or nawk in more detail. Josewr
  14. Josewr

    Extract data from a file depending on pattern on another

    Thanks for your fast reply, futurelet. I should have specified also to print the output to a tab delimited file. I tried placing print $0 > "Output.asc" after pat = pat "$". Then I tried before "$1 in a" and got only errors. (As you can see, I am a newbie at AWK) Thankd again. JoséWR
  15. Josewr

    Extract data from a file depending on pattern on another

    I have 2 files with equal number of rows and the value of the first column is the same on both: file1: (columns 1, 2, 3, 4) 1 5 3 4 2 2 1 3 3 1 5 8 4 7 8 6 ... file2: (columns 1, 2, 3 , 4, 5) 1 1 0 0 1 2 1 1 0 0 3 1 1 0 0 4 0 0 0 1 ... I want to create another file from file1 depending of...

Part and Inventory Search

Back
Top