Skip to content

Commit

Permalink
added advance tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Baribor committed Mar 14, 2023
1 parent 40df082 commit a56dd76
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 0x03-shell_variables_expansions/1-hello_you
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
echo "hello $(whoami)"
echo "hello $USER"
2 changes: 2 additions & 0 deletions 0x03-shell_variables_expansions/100-decimal_to_hexadecimal
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
printf '%x\n' $DECIMAL
2 changes: 2 additions & 0 deletions 0x03-shell_variables_expansions/101-rot13
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
tr 'A-Za-z' 'N-ZA-Mn-za-m'
2 changes: 2 additions & 0 deletions 0x03-shell_variables_expansions/102-odd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
paste -d/ - -| cut -d/ -f1
2 changes: 2 additions & 0 deletions 0x03-shell_variables_expansions/103-water_and_stir
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
printf "%o\n" $(( $((5#$(echo $WATER | tr water 01234))) + $((5#$(echo $STIR | tr stir. 01234))) )) | tr 01234567 bestchol

0 comments on commit a56dd76

Please sign in to comment.