Top "Cut" questions

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

cutting a string into several lines in bash

I want to take the path of the local directory and put each directory on the path in a different …

bash cut
How to get the count of fields in a delimited string?

Given the following data: field1;field2;field3;field4; How to get the number of fields in this string? For example, …

bash shell cut
Shell Script to download youtube files from playlist

I'm trying to write a bash script that will download all of the youtube videos from a playlist and save …

bash shell download cut youtube-dl
using Linux cut, sort and uniq

I have a list with population, year, and county and I need to cut the list, and then find the …

linux sorting cut uniq
Using bash ps and cut together

I need to extract PID, UID and command fields from 'ps' and I have tried it like this: ps -L …

bash unix cut ps
Is there a cleaner way of getting the last N characters of every line?

To simplify the discussion, let N = 3. My current approach to extracting the last three characters of every line in a …

bash command-line awk sed cut
bash method to remove last 4 columns from csv file

Is there a way to use bash to remove the last four columns for some input CSV file? The last …

bash csv sed awk cut
Bash split string

I have the following data in array: MY_ARR[0]="./path/path2/name.exe 'word1 word2' 'name1,name2'" MY_…

string bash awk split cut
CSS How to Make Image Display outside of div

I have an image that i would like to extend beyond the div and display outside of the border that …

css html cut
xcode cut last characters from string

I am working on a Xcode program and need to cut the last 5 characters from a string. Does anybody know …

xcode string nsstring character cut