kiririmode  id:kiririmode  



8,532    

-    

-    









*-users.jp  (6)  

*architecture  (8)  

*book  (298)  

*business  (15)  

*computer  (46)  

*emacs  (191)  

*enlightment  (10)  

*environment  (157)  

*event  (6)  

*free  (12)  

*google  (70)  

*interview  (31)  

*job  (24)  

*knowledge  (9)  

*life  (30)  

*lifehack  (142)  

*linux  (64)  

*mac  (63)  

*network  (105)  

*news  (8)  

*performance  (7)  

*programming  (635)  

*psychology  (6)  

*reference  (33)  

*security  (109)  

*software  (282)  

*specification  (9)  

*tips  (203)  

*unix  (30)  

*webdesign  (14)  

*webservice  (129)  

*windows  (93)  

*word  (12)  

*  (29)  

*  (7)  

*  (25)  

*  (54)  

*  (10)  

*  (22)  

*  (55)  

*  (179)  

*  (48)  

*  (52)  

12factorapp  (8)  

2ch  (22)  

2  (7)  

SICP  (9)  

ad(7)  

adr  (6)  

affair  (8)  

agile  (51)  

ai(115)  

air  (14)  

ajax  (13)  

algorithm  (25)  

amazon  (15)  

amplify  (6)  

android  (9)  

ansible  (9)  

anyevent  (19)  

anything  (6)  

apache  (44)  

api  (52)  

apigateway  (11)  

apollo  (14)  

apple  (36)  

appservice  (13)  

appsync  (13)  

arc  (7)  

architecture  (27)  

aurora  (10)  

authentication  (16)  

awesome  (11)  

aws  (366)  

azure  (107)  

backup  (10)  

bash  (15)  

batch  (12)  

bestpractice  (12)  

bitcoin  (52)  

blockchain  (12)  

blog  (21)  

book  (22)  

boost  (6)  

browser  (13)  

business  (22)  

c(21)  

c++  (58)  

cache  (19)  

calendar  (11)  

cassandra  (19)  

catalyst  (7)  

cd(17)  

chef  (8)  

chrome  (24)  

ci(25)  

classloader  (7)  

cli  (6)  

cloud  (20)  

cloudfront  (18)  

cloudwatch  (15)  

cocoa  (7)  

codepipeline  (15)  

codereview  (7)  

cognito  (14)  

comet  (8)  

command  (22)  

communication  (16)  

company  (26)  

concurrent  (12)  

config  (12)  

connect  (25)  

consul  (19)  

container  (6)  

cookie  (23)  

cooking  (6)  

copilot  (15)  

copyright  (14)  

coro  (8)  

cpan  (80)  

cpanm  (7)  

cpu  (7)  

cron  (8)  

csrf  (6)  

css  (32)  

cygwin  (10)  

daemontools  (7)  

dankogai  (21)  

datadog  (18)  

datamodel  (15)  

datetime  (11)  

db(222)  

dbi  (6)  

dbic  (6)  

debug  (25)  

dena  (8)  

design  (45)  

designpattern  (7)  

development  (18)  

devops  (127)  

di(11)  

dkim  (13)  

dns  (30)  

docker  (82)  

dropbox  (14)  

dx(8)  

dynamodb  (7)  

e2e  (15)  

earthquake  (15)  

ebook  (9)  

ec2  (6)  

eclipse  (16)  

economics  (7)  

economy  (7)  

ecr  (9)  

ecs  (49)  

electron  (13)  

elisp  (12)  

emacs  (20)  

emobile  (6)  

encode  (8)  

english  (13)  

epub  (7)  

error  (6)  

esxi  (7)  

evernote  (7)  

excel  (14)  

extension  (77)  

facebook  (10)  

fam  (8)  

fargate  (15)  

featureflag  (7)  

ffmpeg  (6)  

filesystem  (16)  

firefox  (135)  

firelens  (7)  

flash  (6)  

fluentd  (25)  

font  (17)  

foursquare  (7)  

framework  (7)  

free  (28)  

frontend  (6)  

functions  (15)  

game  (6)  

gauche  (14)  

gc(25)  

gcc  (8)  

gdb  (6)  

gdpr  (6)  

generics  (9)  

git  (68)  

git-flow  (7)  

github  (69)  

githubactions  (28)  

githubcopilot  (9)  

gitlab  (26)  

gmail  (27)  

go(21)  

golang  (100)  

google  (66)  

google gears  (12)  

gpt  (35)  

graph  (8)  

graphql  (35)  

greasemonkey  (32)  

growl  (9)  

grpc  (39)  

gtd  (11)  

happi  (7)  

haproxy  (13)  

hasura  (6)  

hatena  (50)  

heap  (6)  

hls  (8)  

html  (23)  

html5  (24)  

http  (29)  

httpclient  (12)  

https  (7)  

hyperv  (8)  

iac  (6)  

iam  (31)  

ie(6)  

iij  (26)  

innodb  (6)  

insidesales  (9)  

interview  (6)  

ios  (63)  

ipad  (43)  

iphone  (160)  

ipod  (7)  

iptables  (11)  

iscsi  (10)  

it(16)  

itunes  (19)  

java  (276)  

javascript  (136)  

jboss  (10)  

jdbc  (12)  

jenkins  (11)  

jmeter  (11)  

job  (22)  

jobqueue  (11)  

jq(6)  

jquery  (20)  

jsf  (11)  

json  (11)  

jvm  (26)  

jwt  (11)  

k8s  (48)  

keepalive  (8)  

kernel  (11)  

kms  (9)  

kvs  (24)  

lambda  (65)  

later  (6)  

law  (44)  

lb(11)  

ldap  (8)  

ldr  (16)  

leadership  (9)  

library  (6)  

license  (35)  

life  (11)  

lifehack  (11)  

lifehacks  (12)  

lint  (18)  

linux  (60)  

lion  (7)  

lisp  (10)  

livedoor  (7)  

llm  (18)  

lock  (8)  

log  (24)  

lvs  (7)  

mac  (151)  

mail  (49)  

make  (8)  

management  (109)  

markdown  (10)  

marketing  (6)  

math  (12)  

maven  (12)  

memcached  (12)  

memory  (16)  

microservices  (20)  

microsoft  (12)  

mixi  (25)  

mobile  (25)  

mock  (16)  

mod_jk  (6)  

mod_rewrite  (6)  

module  (13)  

monitor  (7)  

monitoring  (21)  

moose  (6)  

mq(13)  

multitenancy  (7)  

mvp  (13)  

mysql  (69)  

nat  (6)  

network  (22)  

news  (8)  

nft  (6)  

nginx  (9)  

niconico  (15)  

node  (15)  

node.js  (29)  

npm  (8)  

ntp  (8)  

nuclear  (8)  

oauth  (36)  

oauth2  (6)  

objective-c  (7)  

okr  (10)  

oome  (7)  

openapi  (6)  

openid  (16)  

openidconnect  (10)  

operation  (6)  

or(8)  

oracle  (78)  

organizations  (8)  

orm  (10)  

oss  (32)  

owasp  (6)  

pagination  (11)  

passkey  (6)  

pdf  (22)  

pdm  (22)  

performance  (41)  

perl  (504)  

perlbrew  (6)  

physics  (9)  

pinpoint  (8)  

pipes  (10)  

plack  (16)  

plagger  (16)  

plantuml  (7)  

plenv  (6)  

podcast  (6)  

poe  (7)  

politics  (10)  

postgresql  (53)  

powerpoint  (11)  

powershell  (8)  

presentation  (16)  

prisma  (7)  

process  (7)  

productivity  (12)  

profile  (7)  

programming  (73)  

prompt  (7)  

protocolbuffer  (11)  

prototyping  (10)  

proxy  (14)  

psgi  (6)  

psychology  (14)  

pubsubhubbub  (9)  

pushnotification  (8)  

python  (39)  

quality  (10)  

quicksight  (10)  

rag  (28)  

rails  (11)  

rds  (19)  

react  (44)  

redis  (13)  

redmine  (6)  

redux  (9)  

reference  (7)  

reflection  (6)  

regex  (7)  

remember the milk  (11)  

research  (15)  

responsive  (9)  

rest  (16)  

rfc  (17)  

rls  (10)  

route53  (6)  

rpc  (8)  

rss  (6)  

rtm  (15)  

ruby  (46)  

s3  (15)  

saas  (11)  

scansnap  (6)  

scheme  (14)  

screen  (19)  

scrum  (41)  

search  (9)  

security  (94)  

selenium  (6)  

self-organization  (9)  

sendgrid  (12)  

serverless  (17)  

serverlessframework  (9)  

servicemesh  (6)  

ses  (12)  

shell  (21)  

shellscript  (16)  

si(19)  

sier  (23)  

skk  (8)  

slack  (12)  

snow  (11)  

snowleopard  (9)  

society  (24)  

socks  (6)  

software  (27)  

spa  (7)  

spf  (9)  

spinnaker  (8)  

spring  (12)  

sql  (17)  

ssh  (16)  

ssl  (16)  

ssm  (16)  

startup  (142)  

statistics  (27)  

stepfunctions  (7)  

stl  (9)  

storage  (18)  

struts  (7)  

study  (6)  

subversion  (14)  

swagger  (6)  

systemd  (10)  

tcp  (22)  

teams  (6)  

template  (10)  

terminal  (6)  

terraform  (83)  

test  (78)  

textlint  (7)  

thread  (13)  

thunderbird  (6)  

thunderbolt  (7)  

tips  (40)  

tmux  (6)  

todo  (25)  

tomcat  (17)  

toodledo  (9)  

tool  (42)  

touch  (11)  

transaction  (6)  

tuning  (7)  

tv(7)  

twilio  (7)  

twitter  (47)  

typescript  (32)  

ubuntu  (7)  

ui(27)  

unicode  (15)  

unity  (13)  

unix  (16)  

untagged  (187)  

usb  (8)  

ux(20)  

vagrant  (8)  

validation  (9)  

vault  (8)  

vc(8)  

vimperator  (15)  

virtualization  (24)  

vmware  (13)  

vpn  (8)  

vscode  (23)  

vsphere  (24)  

wallpaper  (9)  

web  (26)  

web2.0  (8)  

webapp  (9)  

webdesign  (7)  

webservice  (20)  

websocket  (29)  

websphere mq  (13)  

wikipedia  (21)  

windows  (40)  

windows7  (7)  

wireless  (7)  

word  (7)  

workspaces  (7)  

wsl  (8)  

xs(15)  

yahoo  (9)  

yapcasia  (15)  

yapcasia2009  (15)  

yapcasia2010  (17)  

yapcasia2011  (11)  

youtube  (17)  

zsh  (12)  

 (30)  

 (7)  

 (7)  

 (8)  

 (8)  

 (27)  

 (21)  

 (37)  

 (7)  

 (8)  

 (22)  

 (21)  

 (18)  

 (34)  

 (38)  

 (44)  

 (23)  

 (8)  

 (27)  

*programming  (635)  

perl  (504)  

aws  (366)  

*book  (298)  

*software  (282)  

java  (276)  

db(222)  

*tips  (203)  

*emacs  (191)  

untagged  (187)  


 




 / mywiki.wooledge.org (5)






BashFAQ/113 - Greg's Wiki  



1 user  

mywiki.wooledge.org  


 






kiririmode
kiririmode  2023/01/04  
xmlxmllintxmlstarletnamespacenamespace 使  

xmlstarlet

xml

shellscript
 



 














I set variables in a loop that's in a pipeline. Why do they disappear after the loop terminates? Or, why can't I pipe data to read?  



4 users  

mywiki.wooledge.org  


 


I set variables in a loop that's in a pipeline. Why do they disappear after the loop terminates? Or, why can't I pipe data to read? In most shells, each command of a pipeline is executed in a separate SubShell. Non-working example: # Works only in ksh88/ksh93, or zsh or bash 4.2 with lastpipe enabled # In other shells, this will print 0 linecount=0 printf '%s\n' foo bar | while IFS= read -r lined
 



kiririmode
kiririmode  2023/01/02  
pipesubshellforwhileprocess substitutuinwhile  

bash

shellscript
 



 














EnglishFrontPage - Greg's Wiki  



1 user  

mywiki.wooledge.org  


 






kiririmode
kiririmode  2022/12/11  
wiki  

bash
 



 














ProcessManagement - Greg's Wiki



1 user  

mywiki.wooledge.org  


 






kiririmode
kiririmode  2016/07/23  


shellscript

bash
 



 














BashFAQ - Greg's Wiki  



8 users  

mywiki.wooledge.org  


 


Note: The FAQ was split into individual pages for easierediting. Also, for faster loading of this page, the answers are no longer presented here in their entirety. Readers, click the [BashFAQ/nnn] link at the bottom of each answer to read the rest of the answer. Editors, click the '[edit]' link at the bottom of each entry. Don't add new ones to this page; create a new subpage with the next availa
 



kiririmode
kiririmode  2016/04/20  


bash

shellscript
 



 














1











202471

   



20246

   



202465

   


 

Twitter



@HatenaBookmark


@hatebu

 









   




 



j

k

l

e

o
 

















 









 

















 









 









 







Pro



 




 






App Storeからダウンロード
Google Playで手に入れよう


Copyright © 2005-2024 Hatena. All Rights Reserved.
 



x