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
|
83 Discussions
|
Please Login in order to post a comment
awk '{ print substr(0, 7, 1) }'
cut -c2,7 /dev/fd/0
echo {n:6:1} This was working for some some test but not for all. Is it the right logic ?
A solution with out a while loop:
cat > file
cat file |cut -c 2,7