Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

shell loop tuple

OLDIFS=$IFS
IFS=','

for i in c,3 e,5
do 
	set -- $i
    echo $1 and $2
done

IFS=$OLDIFS

# Output:
c and 3
e and 5
Comment

PREVIOUS NEXT
Code Example
Shell :: git list last marge 
Shell :: sol-merger script usage 
Shell :: move file force replace linux 
Shell :: git how to correct accidental commit of password 
Shell :: git push submodule changes to fork 
Shell :: run powershell 64bit 
Shell :: msiexec wait until finished powershell 
Shell :: shell script variable multiple lines 
Shell :: pinch on linux 
Shell :: Filtering Listing Output 
Shell :: pipeline in shell 
Shell :: jq print all fields except 
Shell :: ibus ubuntu 22.04 not working 
Shell :: linux need manual fsck 
Shell :: ex: push a new local repository to github 
Shell :: list of package versions dotnet 
Shell :: Could not execute because the application was not found or a compatible .NET SDK is not installed. 
Shell :: shell owner and permission linux 
Shell :: How to remove files and directories quickly via terminal (bash shell) 
Shell :: rm a var of $PATH ubuntu 
Shell :: ubuntu fresh install deps 
Shell :: How to search within a file when displayed with less program 
Shell :: force remove any folder windwos 10 command 
Shell :: fork, remote setup, link 
Shell :: npm script run first script in the background 
Shell :: run image docker ubunt with port 
Shell :: ffmpeg copy video 
Shell :: power shell How to Ignore lines with StreamWriter WriteLine 
Shell :: how to download bangla font in ubuntu 
Shell :: Add a file or folder to a tar 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =