Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Grep

Name: Anonymous 2011-02-23 20:27

Help a fucking retarded winfag out with a stupid fucking dumbshit problem? Thanks.

TL;DR dumbfag trying to use grep in Cygwin and failing.

Goal: extract only words beginning with un- from a very large text file (or multiple files) and output all matches to a file. Needs to be only single words starting with un-, not whole lines where matches are found.

Problem: can't figure out how to pull out the whole word instead of just the "un." grep " un" gets me all the lines containing words starting with "un," but that's no use, and grep -o " un" is just going to return "un"s. How do?

Why I want to do it, in case you're interested:
I'm trying to do a bit of linguistics research by identifying "ungrammatical" constructions where the affix un- attaches to a noun base. This is generally considered ungrammatical by English speakers (e.g. *uncup, *unbook, *uncomputer), but there have been some notable exceptions and I'm looking to identify them in the works of certain authors historical and present. Since I'm working with a rare construction, there's no surefire way to filter out the non-noun parts of speech from my search, so I just have to sort through everything starting with un-.

Name: Anonymous 2011-02-23 20:51

fuck fag fuck shit fag
Yeah, this is someone I really care to help.

Name: Anonymous 2011-02-23 21:04

>>3
>4chan
>bothered by swear words
>/prog/
>saging

Who are you quoting (is that even a quote?), >>2 never said such things!
Also, sage your posts and don't use /b/speak, only retarded use it.
>>1
$ grep 'un' files ...
You can go back to /b/ or /g/, now.

Name: Anonymous 2011-02-23 21:07

>>3
>4chan
Maybe you should go back there.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List