Release description
# 1.1.0 patchlevel 1 # | | | | # Code base version -----/ | | | # Major version -----------/ | | # Minor version -------------/ | # Patchlevel -----------------------------/
11380 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Antonio http://www.levysoft.it
# 1.1.0 patchlevel 1 # | | | | # Code base version -----/ | | | # Major version -----------/ | | # Minor version -------------/ | # Patchlevel -----------------------------/
current_user=`id | sed 's/uid=[0-9][0-9]*(\([^)]*\)).*/\1/'`
(sleep 3; echo username; sleep 3; echo password; sleep 5; echo "ls -l"; sleep 3; echo "exit") | telnet hostname
cat $FILE | sed -e '/^#/d'
cat $FILE | sed -n "/^[0-9]/p"
cat $FILE | sed -n "/^[0-9]/p"
cat $FILE | sed -e "/^$/d"
cat $FILE | sed -e "/^[ ][ ]*$/d"
sed "/export[ | ]*PIPPO/d" $FILE
echo "/usr/bin/prova" | sed -e "s/.*\///"
echo "/usr/bin/prova" | sed -e "s/\/[^\/]*$//"
sed -n -e "5p" $FILE
sed -n -e "2,5p" $FILE
sed "s/\"/ /g".. sostituisce tutte le '"' con space
sed "s/,/ /g".. sostituisce tutte le ',' con space
sed 's:bin::'.. sostituisce il primo 'bin' con nulla
id | sed -n "/^uid=[0-9]*(\([^)]*\)).*/s//\1/p"
echo "-T100" | sed 's/^-T//'
cat /etc/passwd | sed 's/\([^:]*\):.*:\(.*\):[^:]*$/_dir=\2 _user=\1/'
sed -n 3,3p file
sed -n -e '/ebuild/p' $temp_file_1 > $temp_file_2