modified: clone

new file:   pycharm
new file:   src
This commit is contained in:
Your Name
2026-03-17 20:00:32 +00:00
parent aeb2f0c167
commit 849c428aee
3 changed files with 28 additions and 4 deletions
+1 -4
View File
@@ -7,12 +7,9 @@ clone ()
if [ $# -ne "1" ]; then if [ $# -ne "1" ]; then
PROFIL_NAME="$1"; PROFIL_NAME="$1";
PROJECT_NAME="$2"; PROJECT_NAME="$2";
git clone --recurse-submodules $URL/$PROFIL_NAME/$PROJECT_NAME.git;
else else
PROFIL_NAME=painpain
PROJECT_NAME="$1"; PROJECT_NAME="$1";
git clone --recurse-submodules $URL/$PROFIL_NAME/$PROJECT_NAME.git;
fi fi
git clone --recurse-submodules $URL/$PROFIL_NAME/$PROJECT_NAME.git; git clone --recurse-submodules $URL$PROFIL_NAME/$PROJECT_NAME.git;
} }
clone "$@" clone "$@"
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/bash
~/code/pycharm-2025.3.3/bin/pycharm
Executable
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/bash
if [ "$#" -lt 1 ] || [ "$#" -gt 3 ]; then
echo "Usage: $0 arg1 [arg2] [arg3]"
exit 1
fi
# interactive session check
if [ -t 0 ]; then
echo -n "Delete existing output files? [y/N]: "
read ans
case "$ans" in
y|Y) rm -f *.school ;;
*) echo "Aborted"; exit 0 ;;
esac
fi
# process input file
while IFS= read -r line; do
new_f="${line%.*}.school"
f > "$new_f"
done < "$FILE"
exit 0