Sponsored Content
Full Discussion: Character first registration
Top Forums Shell Programming and Scripting Character first registration Post 302963317 by tricampeon81 on Monday 28th of December 2015 11:21:54 AM
Old 12-28-2015
Character first registration

friends
I have the following code that works perfect

Code:
while read linea
     do


       largo=${#linea}
       echo "largo es///////////: $largo "


      if [ $largo -ne 171 ]
       then
         echo "Longitud De Registro Invalida"
         echo " $linea > ERROR DE LONGITUD"  >>  $PATH_DAT/$ArchSalida
       fi
     done <  ${PATH_DAT}/$ArchPro #while read linea

before this condition

Code:
if [ $largo -ne 171 ]
       then
         echo "Longitud De Registro Invalida"
         echo " $linea > ERROR DE LONGITUD"  >>  $PATH_DAT/$ArchSalida
       fi

I need to ask for the first 2 characters in the record
 

7 More Discussions You Might Find Interesting

1. IP Networking

DNS registration

How can I set up a DNS to host several registered domains on my own computer or where can I find information related with this? Rigo.:confused: (3 Replies)
Discussion started by: rigo
3 Replies

2. Post Here to Contact Site Administrators and Moderators

How to delete registration please?

How do I delete my registration please? (1 Reply)
Discussion started by: amaitland
1 Replies

3. Forum Support Area for Unregistered Users & Account Problems

Need help with forum registration

i can not register, please help me (1 Reply)
Discussion started by: friender@mail
1 Replies

4. Forum Support Area for Unregistered Users & Account Problems

Problem with registration

When I'm trying to register it says that my e-mail adress )is banned by administrator. Why? Thanks PS The same problem occurs with other 2 adresses I have (1 Reply)
Discussion started by: Mihail
1 Replies

5. Solaris

Solaris 10 without registration

Hello people, I'm a private one and have no a support contract with Oracle, Sun Microsystems. And I want to test the Solaris10 U10 and play with no limit. I can use the Solaris 10 U10 without registration. Or must I obtain a contract to Sun for this test Thanks for the answer greeting ... (4 Replies)
Discussion started by: alkhatw
4 Replies

6. Forum Support Area for Unregistered Users & Account Problems

Registration proposal

Hello. I've been reading the feed via twitter for a long time, but though i'm willing to help, i can't post and register (russia's banned). IP is dynamic, it's (<ip address>) for now. DevOps, RH, python and unix shell scripting. (5 Replies)
Discussion started by: spider_fingers
5 Replies

7. Forum Support Area for Unregistered Users & Account Problems

Registration request.

Hi, i got several questions regarding Solaris 10 configuration which i would like to ask here. Unfortunately Russia is blacklisted so I cannot register the normal way. My IP is: 5.19.nnn.nnn email: <removed> Thank you. (5 Replies)
Discussion started by: nongrato
5 Replies
echo(3XCURSES)						  X/Open Curses Library Functions					    echo(3XCURSES)

NAME
echo, noecho - enable/disable terminal echo SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib -R /usr/xpg4/lib -lcurses [ library... ] c89 [ flag... ] file... -lcurses [ library... ] #include <curses.h> int echo(void); int noecho(void); DESCRIPTION
The echo() function enables Echo mode for the current screen. The noecho() function disables Echo mode for the current screen. Initially, curses software echo mode is enabled and hardware echo mode of the tty driver is disabled. The echo() and noecho() functions control soft- ware echo only. Hardware echo must remain disabled for the duration of the application, else the behavior is undefined. RETURN VALUES
Upon successful completion, these functions return OK. Otherwise, they return ERR. ERRORS
No errors are defined. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
getch(3XCURSES), getstr(3XCURSES), initscr(3XCURSES), libcurses(3XCURSES), scanw(3XCURSES), attributes(5), standards(5) SunOS 5.11 5 Jun 2002 echo(3XCURSES)
All times are GMT -4. The time now is 02:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy