CUT(oh) LOCAL CUT(oh) cut - split strings OPTIONS -d | delimeter -c | split by character count -d | split by character (specify delimeter) -f | specify field count. Use n,-n,n- -f 2, gets 2nd field; -f -2, gets up to the 2nd field; -f 2-, gets from the 2nd field to the end $ echo "a b c" | cut -d " " -f 2 b $ echo "a b c" | cut -d " " -f 2- b c $ echo hello | cut -c 2 e SEE ALSO text_manipulation(oh) - OpenBSD manpages: cut(1) AUTHORS ohazot(oh) | about(oh) | ohazot.com: https://ohazot.com OpenBSD 7.7 linux| Created:2025-10-03|Updated:2025-10-21| CUT(oh)