Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bash script

Featured Replies

Hi,

I need help with my script that needs to write a letter (a or f) for english and french to a file and then I need to read that letter to create a variable named $language.

Im totally lost! lol

Thanks in advance,

  • Author

nevermind I found it :)

exec 3<> ~/sdelrc
read langue <&3
exec 3>&-

this will read the first line of sdelrc and create a variable named $langue with it !

ps: I have another question !

Is it possible to use a case inside a case ? Because Im getting a error with this ...

echo "Quel langue? / What language? (F)rançais / (E)nglish?:"
read language
case "$language" in
"f"|"F" )
echo f > ~/sdelrc
echo "Écraser le fichier SpecFICH (O)ui , (N)on?:"
read confirmation
case $confirmation in
"o"|"O" )
mv -f $1 ~/corb.dir
;;
"n"|"N" )
exit 0
;;
esac
"a"|"A" )
echo a > ~/sdelrc
echo "Overwrite file FILESpec (Y)es , (N)o?:"
read confirmation
case $confirmation in
"o"|"O" )
mv $1 ~/corb.dir
;;
esac
esac

Edited by ronmanp

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.