Skip to content

Commit

Permalink
updated task 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Baribor committed Mar 15, 2023
1 parent edde179 commit 3546d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 0x03-shell_variables_expansions/103-water_and_stir
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
printf "%o\n" $(( $((5#$(echo $WATER | tr water 01234))) + $((5#$(echo $STIR | tr stir 01234))) )) | tr 01234567 bestchol
echo $(printf %o $(($((5#$(echo $WATER | tr 'water' '01234'))) + $((5#$(echo $STIR | tr 'stir.' '01234'))))) | tr '01234567' 'bestchol ')

0 comments on commit 3546d51

Please sign in to comment.