-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
bug 🐛Issue concerns a bug.Issue concerns a bug.funded on issuehunt 💵Issue has received funding that will be rewarded to the contributor solving this issue.Issue has received funding that will be rewarded to the contributor solving this issue.level 1 ❕A bug that caused minor damage: App is still usable, but minor features might not work.A bug that caused minor damage: App is still usable, but minor features might not work.
Description
Large ligne of code are cut when the doc is formatted in PDF
Expected behavior
I think the line should not be cut, but instead the rest of the line that can not be shown on the screen must be shown on the next line.
Steps to reproduce
- write a code inside a md page like
c some code
My code:
#!/bin/bash
#Fonction de création d'un utilisateur avec 5 à 10 fichiers de 10 à 100Mo
createUser()
(
X=$(( 10 + $RANDOM % 31 ))
user="user$X"
if grep "$user" /etc/passwd > /dev/null;
then echo -e "L'utilisateur $user existe déja, un autre sera créé à la place."
else useradd $user --home /home/$user --create-home --shell /bin/bash > /dev/null;
echo -e "nL'utilisateur $user avec le mot de passe $user a été créé."
echo -e "$usern$user" | passwd $user 2> /dev/null;
fileNumber=$(( 5 + $RANDOM % 6 ))
for f in `seq 1 $fileNumber`
do
fileSize=$(( 20 + $RANDOM % 100 ))
fallocate -l $fileSizeM "/home/$user/fic$f"
if [ -f /home/$user/fic$f ]
then echo "Le fichier fic$f ($fileSize Mo) a bien été créé dans /home/$user"
createdFiles=$((createdFiles+1))
else echo "Le fichier fic$f n'a pas été créé"
fi
done
echo "$createdFiles/$fileNumber fichiers ont été créés dans /home/$user."
fi
)
while [ `grep -c "^user" /etc/passwd` != 10 ]
do
createUser
done- export to pdf
- look at the code
Environment
There is a $30.00 open bounty on this issue. Add more on Issuehunt.
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on Issuehunt to raise funds.
Metadata
Metadata
Assignees
Labels
bug 🐛Issue concerns a bug.Issue concerns a bug.funded on issuehunt 💵Issue has received funding that will be rewarded to the contributor solving this issue.Issue has received funding that will be rewarded to the contributor solving this issue.level 1 ❕A bug that caused minor damage: App is still usable, but minor features might not work.A bug that caused minor damage: App is still usable, but minor features might not work.
