Search Results

Search: Posts Made By: Yoda
1,458
Posted By Yoda
Remove that double quotes around 1: sed...
Remove that double quotes around 1:
sed 's/[^|]//g' "/tmp/test/${1}"
OR if you have assigned first argument to variable:- Filename:
sed 's/[^|]//g' "/tmp/test/${Filename}"
1,458
Posted By Yoda
How to pass arguments to a Bash-script...
How to pass arguments to a Bash-script (http://linux.about.com/od/Bash_Scripting_Solutions/a/How-To-Pass-Arguments-To-A-Bash-Script.htm)
Showing results 1 to 2 of 2

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