This may be in the wrong forum, but here it goes.
I have a small AccessDB 8-10 fields 6k records
1 of the fields contain creation date.
I need a macro,button or something that when clicked would bring up a dialog box and ask date wanted, user puts date and submit button selects all records...
I have a project I need to work on and am wondering what others would do.
I have files I need to GET & PUT to various (30+) vendors. Most use FTP but some are using HTTP. I am manually getting and putting the files now. I want to automate by using a script. Is it possible to get & put the files...
How can I take the contents of an unformatted input file (no CR/LF) that might look like this using sed:
<a>x</a><end><c>d</c><f>e</f><end><a>g</a><b>h</b><end><b>h</b><end>
…and make it look something like this, with "newline" inserted after all <end> tags, in a new output file...
Here is what I get when I run it.
Again Thanks!!
# ./foo
awk: Syntax error
at line 15 of program << # se ... >>
context is
print >>> $0>FILENAME"." <<< f # write the line to the fth part f
ile
awk: illegal statement
at line 15 of program << #...
Feherke,
Thanks This looks great and I believe with your logic this is what I need.
My question now is in your use of "FILENAME" is this supposed to be a variable?
How does this line work? with FILENAME not a variable? or you looking for the literal file name of my file.
c="wc -l<"FILENAME...
Feherke,
I don't have a clue what you attempting to show me here.
Could you please explain so I might be able to get something working. Do you have anny questions? I really need to get this!!
Thanks in advance
Brandt
split won't work for it would not know what record to split on. each record can be variable length (multiple detail records. a split must occur between at trailer record and a header record.
h1234567890 1234567890 1234567890
dqwertyuiop qwertyuiop qwertyuiop
t0987654321 0987654321 0987654321...
I have a large file with multiple header, detail, & Trailer records
I need to split the file into smaller files say 4 parts
I must start each file with a header and end with a trailer
I can have 1 or more detail records
ie:
h1234567890 1234567890 1234567890
dqwertyuiop qwertyuiop qwertyuiop...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.