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.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Hiring developers?
  1. Prepare
  2. Linux Shell
  3. Text Processing
  4. 'Tr' Command #1
  5. Discussions

'Tr' Command #1

Problem
Submissions
Leaderboard
Discussions
Tutorial

Sort 53 Discussions, By:

recency

Please Login in order to post a comment

  • cahitbarkinozer
    1 month ago+ 0 comments
    while read input; do 
        echo $input | tr "()" "[]"
    done
        echo $input | tr "()" "[]"
    
    1|
    Permalink
  • andreypomortsev
    2 months ago+ 0 comments
    tr '()' '[]'
    
    1|
    Permalink
  • florin_tanasa
    3 months ago+ 0 comments
    #!/bin/bash
    while IFS= read -r line || [ -n "$line" ]; do
      echo "$line" | tr '()' '[]'
    done 
    
    0|
    Permalink
  • aadinew7
    8 months ago+ 0 comments

    You can find here HackerRank Linux Shell Solutions

    ‘Tr’ Command #1 HackerRank Solution

    0|
    Permalink
  • ehsan_estaji
    9 months ago+ 0 comments

    tr '()' '[]'

    0|
    Permalink
Load more conversations

Need Help?


View tutorial
View top submissions
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy