APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

EPERM error


© December 2004 (various authors)
From: johnd@sco.COM (John DuBois)
Subject: Re: grep usage failure
Date: 29 Mar 2001 04:33:58 GMT
References: <6Rnw6.509728$ge4.181310762@news2.rdc2.tx.home.com>
<20010328112002.P25883@jpradley.jpr.com>
<VApw6.510583$ge4.181494696@news2.rdc2.tx.home.com> In article <VApw6.510583$ge4.181494696@news2.rdc2.tx.home.com>, Ronald J Marchand <rjmsys@home.com> wrote: +What I am trying to do is embed a typeable string +between two non printable characters. In this case, hex 093109. How can I +set variable b=hex 09 from the keyboard and in a script???

If you're using 5.0.6, you have a grep that understands characters encoded in
octal:
$ grep '\00111\0011' /usr/include/sys/errno.h
        ^^^^^ ^^^^^ octal encoding of tab
#define EPERM           1       /* Not owner                            */

For this particular problem, you might take a look at
ftp://ftp.armory.com./pub/scobins/errno

$ errno 1
          EPERM (1): Operation not permitted
$ errno eperm
          EPERM (1): Operation not permitted
$ errno perm
          EPERM (1): Operation not permitted

        John
-- 
John DuBois     johnd@sco.com       KC6QKZ/AE
I wish to God these calculations had been executed by steam. - Charles Babbage


Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> EPERM error ––>Re: grep usage failure


Inexpensive and informative Apple related e-books:

Take Control of Upgrading to El Capitan

Take Control of iCloud

Take Control of IOS 11

iOS 10: A Take Control Crash Course

Take Control of iCloud, Fifth Edition





Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





One day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" (Larry Wall)




Linux posts

Troubleshooting posts


This post tagged:

SCO_OSR5

Shell



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com