.Dd 2026-07-15 .de oit .It \\$* .. .de obi .Bl -\\$1 -compact .shift .oit \\$* .. .de obe .obi \\$* .El .. .de obd .Bd -literal -compact \\$* .. .de obc .Bl -column \\$* .. .Dt CUT oh .Os .Nm cut .Nd separar texto .Sh OPTIONS .obc _ .It -c Ta | separar por cantidad de caracteres. .It -d Ta | separar por car\('arter, especifica car\('acter a usar como separador. .It -f Ta | especificar n\('umeros de campos. n,-n,-n. .It Ta \ \ -f 2, obtiene el segundo campo .It Ta \ \ -f -2, obtiene hasta el segundo campo .It Ta \ \ -f 2- obtiene desde el segundo campo hasta el final. .El .Bd -literal -compact $ echo "a b c" | cut -d " " -f 2 b $ echo "a b c" | cut -d " " -f 2- b c $ echo texto | cut -c 2 e .Ed .Sh VER TAMBI\('EN .obc .It .Xr text_processing oh .It Manuales de OpenBSD: .Xr cut 1 .El .Sh HISTORIAL .obc _______ .It 2026-07-15 Ta : Creado. .El .Sh AUTORES .An -nosplit .Xr ohazot oh | .Xr info oh | .Lk https://ohazot.com ohazot.com .Aq Mt admin@ohazot.com