Search Results

Search: Posts Made By: Hvieira
1,412
Posted By Don Cragun
Hi durden_tyler, The macOS pbpaste command...
Hi durden_tyler,
The macOS pbpaste command writes whatever was last copied into the paste buffer. If the selected text included a trailing <newline>, a trailing <newline> will be included in the...
1,412
Posted By durden_tyler
Upon searching about this topic in the Internet,...
Upon searching about this topic in the Internet, I found that the "read" command may be unable to read a line that is not terminated by a newline.
However, I could not test it in my Cygwin Bash on...
1,412
Posted By Don Cragun
The following seems to work with bash on macOS...
The following seems to work with bash on macOS High Sierra (version 10.13.4):
while IFS= read -r line
do case "$line" in
"Your name:"*) uservar="${line#*: }" ;;
"Email:"*) ...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 04:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy