Sort by

recency

|

91 Discussions

|

  • + 0 comments
    while read text
    do
      char2=$(echo $text | cut -c2)
      char7=$(echo $text | cut -c7)
      result="$char2$char7"
      echo "$result"
    done
    
  • + 0 comments
    cut -c2,7
    
  • + 0 comments
    while read r;
    do
    echo "$r" | cut -c 2,7
    done
    
  • + 0 comments

    The cut command in Linux is a handy tool for extracting specific portions of text or data from files or output streams. cricbet99 login

  • + 0 comments

    for (( i=1 ; i <=100 ; i++ )){

     read line
     echo "${line}" | cut -c 2,7 
    

    }