We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Linux Shell
- Text Processing
- Cut #2
- Discussions
Cut #2
Cut #2
Sort by
recency
|
86 Discussions
|
Please Login in order to post a comment
cut -b 2,7
while read line; do echo "$line" | cut -c 2,7 done
Simpe code
awk '{ print substr(0, 7, 1) }'