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 #1
- Discussions
Cut #1
Cut #1
Sort by
recency
|
137 Discussions
|
Please Login in order to post a comment
Does anyone know why the test case 2 if failing for below code:?
while read -r line; do
done
cut -c3
echo "hello" |cut -c3
output = l
cut is a command-line tool used to extract sections from each line of input — by bytes, characters, or fields.
Simplese cod e for bigners
read n for i in [1..toprint" | cut -c 3 done