• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Shell scripting - Is it possible to add two strings together to make 1 string?

cchen

Diamond Member
say I run: script asdf qwert
Is it possible to create a string that says: asdf qwert
I need to use this with sed, I tried using $@ but it won't work with sed
 
Hmm.. it won't work with sed. gives me this error:
sed: -e expression #1, char 6: Unterminated address regex

this is what i called
name="$1 $2"
sed /$name/p -n /home/cs3157/public/march.tcm
 
Back
Top