The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
problems using sed
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
problems using sed
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
04-21-2009
jim mcnamara
...@...
Join Date: Feb 2004
Location: NM
Posts: 5,773
use > not |
Code:
sed
"$var,\$ p" acc.sh > abc.sh
I though abc.sh was a shell script executing your output, my bad.
jim mcnamara
View Public Profile
Find all posts by jim mcnamara
Find jim mcnamara's past nominations received
Find jim mcnamara's present nominations given