cut
Në shqip: cut (prit kolona)
ShpjegimiSQ
cut nxjerr pjesë nga çdo rresht: kolona sipas ndarësit (-d, -f) ose karaktere sipas pozicionit (-c). Më i thjeshtë se awk kur thjesht të duhet një kolonë nga një CSV.
EnglishEN
cut extracts parts of each line: columns by delimiter (-d, -f) or characters by position (-c). Simpler than awk when you just need one column from a CSV.
Si ta mendosh
Si gërshërët që presin vetëm kolonën që të duhet nga një tabelë.
Lexoje në anglisht
Like scissors cutting just the column you need out of a table.
Shembull kodibash
cut -d, -f2 studentet.csv
cut -d: -f1 /etc/passwd # emrat e përdoruesve