auto commit at 2026-03-25 17:37:53
This commit is contained in:
20
,
20
,
@@ -1,16 +1,16 @@
|
||||
#!/usr/bin/env ruby
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
puts %q[This is a "comma script", meaning a script starts with a comma.
|
||||
The benefit is: type "," and press TAB, and you can see all comma scripts!
|
||||
]
|
||||
echo "This is a \"comma script\", meaning a script starts with a comma."
|
||||
echo "The benefit is: type \",\" and press TAB, and you can see all comma scripts!"
|
||||
|
||||
puts ''
|
||||
echo ""
|
||||
|
||||
puts 'Shell: ' + `echo $SHELL`
|
||||
puts "PATH: #{ENV['PATH'].split(':').size} paths [Please run ',path' to view path list]"
|
||||
echo "Shell:" $(echo $SHELL)
|
||||
echo "PATH:" $(echo "$PATH" | tr ':' '\n' | wc -l) "paths [Please run ',path' to view path list]"
|
||||
|
||||
puts ''
|
||||
echo ""
|
||||
|
||||
puts 'Ruby version: ' + `/usr/bin/env ruby -v`
|
||||
puts 'Python version: ' + `/usr/bin/env python --version`
|
||||
echo "Ruby version:" $(/usr/bin/env ruby -v)
|
||||
echo "Python version:" $(/usr/bin/env python --version)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user