|
awk command Hi all., i am working on script. I have a file. i type ls -ltr and i get -rwxrwx--- 1 pavi C2052EX 15 Mar 21 09:50 START.TTN.20060321.095017.ctl_20060321095032 ( pls note everything is in 1 line, here it came in 2 lines.) I have to use awk command and only get the MAR 21 to be displayed in the out.it i... 21 Mar 2006 18:56
Need to convert DOS to UNIX with a *limited* set of UNIX commands I'm stuck! Need to do a text replace in files to convert them from DOS into equivalent UNIX format (i.e. get rid of all the ^M characters). But am using a system that has a BusyBox UNIX implementation on it that supports a very limited set of unix commands. These are: alias break builtin cd chdir continue eval ex... 20 Mar 2006 04:14
fixed-size records hello! I have some files with fixed-size records george jenny lina I want to convert to george ,jenny ,lina how can do it?sed&awk??any help? thanks! p.s. it's spaces between fields,not tabs. ... 10 Mar 2006 18:04
Have script redirect output? Hi. I am using a Bourne script like this: myscript.sh >& myoutput.out Instead of doing this, is there a command I can put inside my script to cause it to redirect output in this way? Thanks! Ken ... 7 Mar 2006 07:46
How to run a exe file in Unix shell script? How to execute an .exe file in unix shell script ? I have an .exe file " StorePackedFileAccelerators.exe ".When i tried to run the exe file in Unix shell script,it cannot able to execute the exe file. I have tried the following options but the exe file does'nt executed. StorePackedFileAccelerators.exe ... 6 Mar 2006 11:58
invoking shell commands from makefile I have to invoke some shell commands from a makefile ..I use the shell function of makefile..but i am getting the error : /bin/sh: -c: line 0: unexpected EOF while looking for matching `'' /bin/sh: -c: line 1: syntax error: unexpected end of file make: *** [all] Error 2 I have checked thr are no quotes left unen... 2 Mar 2006 06:31
read `man bash', this difference is described there [was: whats the difference between these two?] On 01.03.2006, yusufm <yusufm(a)gmail.com> wrote: ls > dirlist 2>&1 ls 2>&1 > dirlist What do you want to do with these two commands? I see no question... -- Feel free to correct my English Stanislaw Klekot ... 2 Mar 2006 12:25
.bashrc aliases Even though I have a Mac, I use the shell more than I do its GUI apps and, most of the time, I'm logged into my Solaris server with at least one other window open to the bash shell on OSX. Frequently, I'm also listening to iTunes which, if I don't like the song, just do: osascript -e 'tell app "iTunes" to nex... 23 Feb 2006 03:46
[Help] sftp script need.... I used get.sh script in AIX machine, but I shoud use sftp. How can I make a sftp scipt including password ? (script file includes 1,2,3 procedure) Please help me~ Thanks in advance. ===== get.sh ===== ftp -i -n 123.456.678.111 << end user test test cd /users/test get test.txt test.txt bye ... 19 Feb 2006 20:56
Read file in ksh script Hello, In a ksh script, I used the followings: INPUT_FILE="aa. \ bb. \ cc. \ dd. \ ee. \ ff. \ gg" To get the record, for j in $INPUT_FILE But there are many records in INPUT_FILE and I'd like to make it a seperate file and read it in the script. Can anyone tell me how to do it please? I was t... 15 Feb 2006 23:19 |