#!/bin/sh
# Hello by wiak. Created 23Jul2020. Licence MIT - joking
message="Hello"
you="Jimmy"
many="You Folks"
howmany=3
too_many="all $howmany of you"
echo Hello1
echo "Hello2"
echo "$message"3
echo "Hello${message}"4
echo "Hello5 $many"5
# A Comment
# From man page:
# If the first operand is −n, or if any of the operands contain a
# <backslash> character, the results are implementation-defined.
# ...
# It is not possible to use echo portably across all POSIX systems
# unless both −n (as the first argument) and escape sequences are omitted.
# ...
# The echo utility has not been made obsolescent because of its
# extremely widespread use in historical applications. Conforming
# applications that wish to do prompting without <newline> characters
# or that could possibly be expecting to echo a −n, should use the
# printf utility
printf "Hello6\n"
printf "Hello7 Jemima\n"
printf "Hello8 $you\n"
printf "%s again %s\n" Hello9 Jemima
printf "Hello10 %s\n" "$toomany"
printf "%s all %d of %s\n" Hello11 $howmany "$many"
# but oft-safer to always use quotes:
printf "%s all %d of %s\n" "Hello12" "$howmany" "$many"
you="World"
printf "The last %d greetings of %s:\n" "$howmany" "$message $you tabbed"
printf "Hello %s\t" World
printf "Hello %s\t" "$you"
printf "%s %s\n" "$message" "$you"
Hello World
interpretive language scripts
Moderator: Forum moderators
- wiak
- Posts: 4245
- Joined: Tue Dec 03, 2019 6:10 am
- Location: Packing - big job
- Has thanked: 70 times
- Been thanked: 1258 times
- Contact:
Hello World
https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;
Jump to
- Puppy Linux main
- ↳ Announcements
- ↳ General Information
- ↳ Before Installing Forum Distributions, README FIRST
- ↳ Installation Reports
- ↳ Getting Started and System Requirements
- ↳ Internationalization
- ↳ Puppy Linux Distros
- ↳ BookwormPup
- ↳ F96-CE
- ↳ JammyPup
- ↳ NoblePup
- ↳ SPups
- ↳ LxPupSc
- ↳ Vanilla Dpup
- ↳ VoidPup
- ↳ Puppy Derivatives
- ↳ Re-masters
- ↳ Specialized
- ↳ Built from woof-CE Recipes
- ↳ F96CE-XFCE-FUSILLI
- ↳ PuppEX
- ↳ Legacy
- ↳ Bionic
- ↳ DPupStretch
- ↳ Fossapup64
- ↳ Raspbian Buster
- ↳ Slacko
- ↳ Tahr
- ↳ Xenial
- ↳ House Training
- ↳ Beginners Help
- ↳ Users
- ↳ Bug Reports
- ↳ Instructional HOW-TO Section
- ↳ Boot
- ↳ Browsers
- ↳ Compile
- ↳ F96-CE+
- ↳ File Management
- ↳ Graphics/Video
- ↳ Install
- ↳ Network/Server
- ↳ Printing
- ↳ Repair
- ↳ Security
- ↳ Sounds
- ↳ Tips & Tweaks
- ↳ Upgrade/Backup
- ↳ Utility
- ↳ Advanced Topics
- ↳ Additional Software (PETs, n' stuff)
- ↳ AppImages, Snaps and Flatpaks
- ↳ Browsers and Internet
- ↳ Business
- ↳ Compiling
- ↳ Desktop
- ↳ Documents
- ↳ Drivers
- ↳ Educational
- ↳ Emulation
- ↳ Engineering/Science/Simulation
- ↳ Eye Candy
- ↳ Backgrounds
- ↳ Filesystem
- ↳ Games
- ↳ Graphics
- ↳ Java
- ↳ Kernels
- ↳ Multimedia
- ↳ Network
- ↳ Package Collections/Repositories
- ↳ REQUESTS
- ↳ Security/Privacy
- ↳ System
- ↳ Utilities
- ↳ Virtualization
- ↳ WINE
- ↳ WINE 64 BIt
- ↳ WINE 32 Bit
- ↳ Puppy Projects
- ↳ Cutting Edge
- ↳ Servers
- ↳ woof-CE
- ↳ Puppy Linux International
- ↳ Für deutschsprachige Anhänger
- ↳ Pour les francophones
- ↳ Usuarios de habla Hispana
- ↳ Standard Chinese Language PET's
- ↳ Russian - Россия
- ↳ Distributions Archive
- Debian Dog main
- ↳ DebianDogs
- ↳ UbuntuDogs
- ↳ Debian-Live Starter Kit
- EasyOS main
- ↳ EasyOS
- ↳ Containers and VMs
- FatDog main
- ↳ FatDog
- ↳ FatDog64
- ↳ Software
- Kennel Linux main
- ↳ KL Distributions
- ↳ KLV-Airedale
- ↳ KLA
- ↳ KLV-Bspwm
- ↳ KLV-HyprlandCE
- ↳ KLV-Spectr
- ↳ KLV-Swayland
- ↳ KLF
- ↳ KLU-jam
- ↳ KL-Dev_Work
- ↳ KL_full2fr
- ↳ KL minis
- ↳ How-To
- ↳ firstribit
- ↳ Virtualization
- Systems
- ↳ For Older Low Powered Computers
- ↳ 32 Bit
- ↳ 64 Bit
- ↳ Hardware
- ↳ Programming
- ↳ Scripts
- Off-Topic Area
- ↳ Security
- ↳ Forum Organization & Structure Council
- ↳ Other Distros
- ↳ FirstRib (old archived info)
- ↳ ForumLink
- ↳ About
- ↳ Announcements
- ↳ HowTo
- ↳ Software
- ↳ Beginners
- ↳ Users
- ↳ Programming
- ↳ Bug_Reports
- ↳ Blog
- ↳ Comparisons
- ↳ Dog Incubator
- ↳ dCoreDog
- ↳ Corepup