Changeset 16958
- Timestamp:
- 11/26/13 15:23:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/os/oshostname.m
r16957 r16958 15 15 %We need to add < /dev/null otherwise what is in the clipboard is added 16 16 [status,hostname]=system('hostname < /dev/null'); 17 hostname = strrep(hostname,'-','') 17 hostname = strrep(hostname,'-',''); 18 18 if status, 19 19 error('oshostname error message: could not run hostname command on *nix os');
Note:
See TracChangeset
for help on using the changeset viewer.