B18: "sed ** >> a_file", paging error in kernel32.dll in window 95 Korean Version

Michael Mauch michael.mauch@gmx.de
Wed Aug 19 17:19:00 GMT 1998


Hi Kim,

> bash> touch a_file
> bash> for file in $(ls file?); do
> > sed -n '1,/Copyright/p' file? >> a_file
> >done
> 
> But this makes errors, saying "bash caused paging error in kernel32.dll."
> What wrong with this?

Of course it shouldn't cause a paging error, but try the commands:

for file in file?; do sed -n '1,/Copyright/p' file? >> a_file; done

Note that you don't have to call 'ls' for filename expansion in the
for-list, and note the semicolon before the 'done'.

Regards...
		Michael
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list