This is the mail archive of the
mailing list for the Cygwin project.
B18: "sed ** >> a_file", paging error in kernel32.dll in window 95 Korean Version
- To: <gnu-win32 at cygnus dot com>
- Subject: B18: "sed ** >> a_file", paging error in kernel32.dll in window 95 Korean Version
- From: "Sung Hoon, Kim (±è¼ºÈÆ)" <vivlavie at plaza1 dot snu dot ac dot kr>
- Date: Mon, 17 Aug 1998 20:58:26 +0900
I want to a simple thing, extracting the contents of several files from the first line to the line where "Copyright" is shown, and stor the results into a file.
In example, there exist two files. One has the contents
function = ...
and the other has
funtion = ...
As you know,
sed -n '1,/Copyright/p' file? >> a_file
doesn't work. It only stores the extraction of the first file. So I tried in bash
bash> touch a_file
bash> for file in $(ls file?); do
> sed -n '1,/Copyright/p' file? >> a_file
But this makes errors, saying "bash caused paging error in kernel32.dll."
What wrong with this?
Sung Hoon Kim
For help on using this list (especially unsubscribing), send a message to
"email@example.com" with one line of text: "help".