Top "Cut" questions

A Unix shell command that breaks input into fields, which can be selected for output, based on a delimiter.

How can I find the minimum cut on a graph using a maximum flow algorithm?

I need to find the minimum cut on a graph. I've been reading about flow networks, but all I can …

graph-theory cut minimum flow max-flow
cutting last n character in a string using shell script

How to remove all n characters from a particular string using shell scripts, ssl01:49188,,, ssl01:49188, ssl01:49188,,,,, ssl01:49188,ssl999999:49188,,,,, ssl01:49188,abcf999:49188,,,,, …

bash shell cut
Remove first n character from bunch of file names with cut

I am using ls | cut -c 5- This does return a list of the file names in the format i …

bash cut
get the first 5 characters from each line in shell script

Here is my sample.txt file it contains following 31113 70:54:D2 - a-31003 31114 70:54:D2 - b-31304 31111 4C:72:B9 - c-31303 31112 4C:72:…

linux bash shell sh cut
How to cut the last field from a shell string

How to cut the last field in this shell string LINE="/string/to/cut.txt" So that the string would …

string shell cut
Is it possible to use a string as a delimiter in unix cut command?

If I want to cut a list of text using a string as a delimiter, is that possible? For example …

unix cut utilities
Using CUT and Quartile to generate breaks in R function

Following some great advice from before, I'm now writing my 2nd R function and using a similar logic. However, I'm …

r cut
How to cut off string after the first line in the paragraph

I have the string as show below: XXX:Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur cursus lacus sed …

javascript string cut
how to subset a file - select a numbers of rows or columns

I would like to have your advice/help on how to subset a big file (millions of rows or lines). …

linux unix sed awk cut
How to use cut command in bash to show all columns except those indicated?

I need to remove a column from a plain text file. I think this could be done using the inverse …

bash cut