I've been a Linux user for a while, and I've a pretty decent understanding of most the common command line utilities. However, ones that come up and up again in relation to programming are grep, awk, ...

So pulling open a file with cat and then using grep to get matching lines only gets me so far when I am working with the particular log set that I am dealing with. It need a way to match lines to a ...

I am having some issues in using an answer provided on this site for this question about a sed command to replace a blank line with two other lines of content, and it was brought up if the sed command ...

I'm writing shell scripts for my server, which is a shared hosting running FreeBSD. I also want to be able to test them locally, on my PC running Linux. Hence, I'm trying to write them in a portable ...

Using OPEN STEP 4.2 OS...
I am currently using the following sed Command:
sed -n '1,/141.299.99.1/p' TESTFILE | tail -3
This command will find one instance in a file with the ip of 141.299.99.1 and ...

Anyone know of a non-line-based tool to "binary" search/replace strings in a somewhat memory-efficient way? See this question too.
I have a +2GB text file that I would like to process similar to what ...

I've got an extreme problem, and all of the solutions I can imagine are complicated. According to my UNIX/Linux experience there must be an easy way.
I want to delete the first 31 bytes of each file ...

I went through the answers in this helpful thread, but my problem seems to be different enough that I can't think of good answer (at least with sed).
I have a large CSV file (200+ GB) with rows that ...