Summary: So, each line in your control file specifies a block of lines to extract from your data file? cat infile #ABC# line 1 line 2 line 3 #DEF# line 4 line ...
Summary: Is there a way I could randomly generate numbers from a specific list only say choose randomly from this set(1,15,20) or a range say choose any number...
Summary: Hi all, I'm trying to write the first 50 rows from file A to a new file. By using 'head -50 fileA' i know i get to see the first 50 rows of that file....
Summary: A simple 2-file match up between exact keys would be an indexed match up, and very fast. But your requirement is not exact key, and requires the arra...
Summary: Hi all, I've just started to work with shell scripting and sed today. I'm trying to figure out how I can extract data from a file. Basically the file ...
Summary: Hi Im trying to concatenate a specific file from each day in a year/month/day folder structure using Bash. The file structure ends up like this: 2009...
Summary: I have a script that inputs a line into the first line of a text file using sed: sed '/1i\ '$LINE'' <$FILE FILE and LINE are inputted using read. ...
Summary: Hello people! Can anybody please tell me how you can globally insert words into a text file using vi?? I need to be able to insert the words 'echo dum...
Summary: What I want to do is this.... In DOS "cls" makes the clear screen, I agree with that, but I use UNIX too (Fedora Core). My intention is not to write "...
Summary: Hi all, I was editing my c++ file in sun-solaris and then when i ran the make file i got an error saying some junk char not defined in the file,later ...
Summary: I need to remove trailing blanks from a text file . Each line is long 1024 characters and only the first part (about 100 char) is meaningful and I hav...
Summary: Does any now how to Time a Telnet session using UNIX. Example: Telnet to hostname and then provide the Time it took to connect to that host. ...
Summary: I want to edit the first line in a large file. Using VI editor I amn't able to do, so that I thought to do using head and tail functions and then done...
Summary: To whom it my concern i was hoping you might be able to help a confused first year computing student. I have been set the following assignment which i...
Summary: I would like to connect a UNIX box to a small network using a LINKSYS DSL router. LINKSYS siad that the router will work with any TCP/IP box but ofers...
Summary: Srini, one way to do this will be to have a BAT file on your NT and the bat file would just call an ftp script which sits on your NT. example: the ba...
Summary: Hi, I'm having problem writing to a log file. Appreciate if anyone can help. I'm running an application thru a script ("A") with input and output file...
Summary: Hi all, I have a data file(spin.dat) which is something like this: a,b,c,d,e,f 11,12,13,14,15,16 21,22,23,24,25,26 31,32,33,34,35,36 41,42,43,44,45,...
Summary: Hi, I am doing some records processing in a text file. I would like to know how can I read the lines repeatedly until the EOF character is reach? All ...
Summary: A ppp conntetion using a serial cable connection is no problem, if you don`t use Windows. I have the same problem Wolgang has. And I made the same exp...