Sponsored Content
Top Forums UNIX for Dummies Questions & Answers head command wont work on MF file Post 302106558 by sb008 on Friday 9th of February 2007 01:02:36 PM
Old 02-09-2007
Your file is apparently not a plain text file, but it contains non printable characters as well.

When trying to display those on the screen, some effect e.g. cursor placemet, others are not shown at all.

This is most likely why you don't get the expected output.
 

10 More Discussions You Might Find Interesting

1. HP-UX

Netscape Wont work...

Cant Get Netscape to work... I get this messsage: Perhaps there is a problem with your name server? if your site must use a non-root name server, you will need to set the $SOCKS_NS environment variable to point at the appropreate name server. It may (or may not) be necessary to set this... (2 Replies)
Discussion started by: Eric_Bakken
2 Replies

2. Shell Programming and Scripting

[Unix] a dos style rename wont work

Hey guys i'm creating a dos style rename script, so if a user types say q14.* as the 1st param and b14.* as the 2nd and will rename all q14 files to b14 but keep the extensions, so i've developed nearly the full script "i think", if i use echo(echo "if $1 had been renamed it would now be... (3 Replies)
Discussion started by: fblade1987
3 Replies

3. Shell Programming and Scripting

My Wireless Script Wont Work.....anyone??

ive been trying to write a simple (at least i thought it was) script to launch my wireless usb under ubuntu with kde. im using nano. when i run it from a terminal it works fine, but it just wont run from the script. there is a caveat, but first heres the script. ... (7 Replies)
Discussion started by: braze
7 Replies

4. Shell Programming and Scripting

head command with more than one file

Hi, I have the following problem. I have files with one column of data (let's say file1.dat, file2.dat...file6.dat), and I would like to record the first value of the column of each file into another file (let's name it fileall.dat), which would have the the six values, one in each column. I use to... (4 Replies)
Discussion started by: josegr
4 Replies

5. OS X (Apple)

AjaxTerm wont work on Mac OS X

just downloaded Ajaxterm-0.10 on my Mac 10.5.8 and after a ./ajaxterm.py i get: AjaxTerm at http://localhost:8022/ which looks ok but as soon i go to the website: ./ajaxterm.py:418: DeprecationWarning: 'I' format requires 0 <= number <= 4294967295 fcntl.ioctl(fd,... (0 Replies)
Discussion started by: berot3
0 Replies

6. Shell Programming and Scripting

2 commands in script wont work together

For some reason when I run these separately they work but when they are in a script file the second wont: printf "%s\n" "$RANDOM"."$RANDOM" "$RANDOM"."$RANDOM" "$RANDOM"."$RANDOM" "$RANDOM"."$RANDOM" | tee $HOME/bpl/random RANDOM1=$( <$HOME/bpl/random ) Anyone know why? (8 Replies)
Discussion started by: pkohn11
8 Replies

7. Solaris

Creating script - grep wont work?

This is my first script and I wont get it working.. sorry for being a total noob but here it is: #./bin/sh -x echo "1:st argument = $1"; echo "2:nd argument = $2"; grep "$1" "$2" In the terminal I write, for example, su.sh sausage sausage.txt Also tried su.sh "sausage" "sausage.txt" but... (2 Replies)
Discussion started by: Prantare
2 Replies

8. Solaris

ALOM wont work when KVM connected to Sun Fire V440 server

Hi, I was asked to connect a KVM screen to a Sun Fire V440 last night so I connected it up but no joy and nothing on the KVM screen. I was told that a reboot may fix the problem so connected to the ALOM and rebooted. On the plus side, the KVM screen now works but I lost the ALOM connection. ... (0 Replies)
Discussion started by: jimmy54321
0 Replies

9. UNIX for Dummies Questions & Answers

Aliases wont work after set command

Hi, I have setup my .profile with some helpful aliases and some set commands in it. I have it as: alias gr='autorep -G' alias c='clear' alias x='exit' alias wcl='wc -l' alias l1='ls -1 "$@"' alias ll='ls -l "$@"' alias la='ls -altr "$@"' alias l='ls -ltr "$@"' alias ml='m_ls -ltr... (5 Replies)
Discussion started by: grep_me
5 Replies

10. Homework & Coursework Questions

How to display certain line of file only using head or tail in 1 command?

First month learning about the Linux terminal and it has been a challenge yet fun so far. We're learning by using a gameshell. I'm trying to display a certain line ( only allowed 1 command ) from a file only using the head or tail. I'm pretty about this answer: head -23 history.txt | tail -1... (1 Reply)
Discussion started by: forzatekk
1 Replies
brlapi_writeArguments_t(3)					      BrlAPI						brlapi_writeArguments_t(3)

NAME
brlapi_writeArguments_t - SYNOPSIS
#include <brlapi.h> Data Fields int displayNumber unsigned int regionBegin unsigned int regionSize char * text int textSize unsigned char * andMask unsigned char * orMask int cursor char * charset Detailed Description Structure containing arguments to be given to brlapi_write() Field Documentation unsigned char* brlapi_writeArguments_t::andMask And attributes; applied first char* brlapi_writeArguments_t::charset Text charset. NULL means it is assumed to be 8bits, and the same as the server's. '' means current locale's charset. If no locale was selected, defaults to NULL's meaning. int brlapi_writeArguments_t::cursor BRLAPI_CURSOR_LEAVE == don't touch, BRLAPI_CURSOR_OFF == turn off, 1 = 1st char of display, ... int brlapi_writeArguments_t::displayNumber Display number BRLAPI_DISPLAY_DEFAULT == unspecified unsigned char* brlapi_writeArguments_t::orMask Or attributes; applied after ANDing unsigned int brlapi_writeArguments_t::regionBegin Region of display to update, 1st character of display is 1 unsigned int brlapi_writeArguments_t::regionSize Number of characters held in text, andMask and orMask. char* brlapi_writeArguments_t::text Text to display, must hold as many characters as the region fields expresses. int brlapi_writeArguments_t::textSize Size of text in bytes. If -1, strlen() is used for computing it. Author Generated automatically by Doxygen for BrlAPI from the source code. Version 1.0 Mon Apr 1 2013 brlapi_writeArguments_t(3)
All times are GMT -4. The time now is 04:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy